llvm/test/C++Frontend/2004-11-27-FriendDefaultArgCrash.cpp
Chris Lattner a17138424f New testcase for PR447
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18298 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 01:22:49 +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);
};
}