Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC++ / 2004-11-27-FriendDefaultArgCrash.cpp
blob731e72617b9ee9ec5aedb1af107bcab067bb2432
1 // RUN: %llvmgxx %s -o /dev/null -S
3 // PR447
5 namespace nm {
6 struct str {
7 friend int foo(int arg = 0);
8 };