xref: /aosp_15_r20/external/clang/test/CodeGenCXX/2004-11-27-FriendDefaultArgCrash.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2 
3 // PR447
4 
5 namespace nm {
6   struct str {
foo(int arg=0)7     friend void foo(int arg = 0) {};
8   };
9 }
10