[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2004-11-27-FriendDefaultArgCrash.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 27 17:23:01 PST 2004
Changes in directory llvm/test/Regression/C++Frontend:
2004-11-27-FriendDefaultArgCrash.cpp added (r1.1)
---
Log message:
New testcase for PR447: http://llvm.cs.uiuc.edu/PR447
---
Diffs of the changes: (+9 -0)
Index: llvm/test/Regression/C++Frontend/2004-11-27-FriendDefaultArgCrash.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/2004-11-27-FriendDefaultArgCrash.cpp:1.1
*** /dev/null Sat Nov 27 19:22:59 2004
--- llvm/test/Regression/C++Frontend/2004-11-27-FriendDefaultArgCrash.cpp Sat Nov 27 19:22:49 2004
***************
*** 0 ****
--- 1,9 ----
+ // RUN: %llvmgxx %s -o /dev/null -S
+
+ // PR447
+
+ namespace nm {
+ struct str {
+ friend int foo(int arg = 0);
+ };
+ }
More information about the llvm-commits
mailing list