1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null 2 3// PR447 4 5namespace nm { 6 struct str { 7 friend void foo(int arg = 0) {}; 8 }; 9} 10