llvm-mirror/test/C++Frontend/2004-11-27-FriendDefaultArgCrash.cpp
2007-01-17 07:59:14 +00:00

10 lines
117 B
C++

// RUN: %llvmgxx %s -o /dev/null -S
// PR447
namespace nm {
struct str {
friend int foo(int arg = 0);
};
}