[cfe-commits] r117759 - in /cfe/trunk/test/SemaCXX: crash-PR7625.cpp crashes.cpp

Argyrios Kyrtzidis akyrtzi at gmail.com
Fri Oct 29 18:06:23 PDT 2010


Author: akirtzidis
Date: Fri Oct 29 20:06:23 2010
New Revision: 117759

URL: http://llvm.org/viewvc/llvm-project?rev=117759&view=rev
Log:
Add test/SemaCXX/crash-PR7625.cpp into test/SemaCXX/crashes.cpp

Removed:
    cfe/trunk/test/SemaCXX/crash-PR7625.cpp
Modified:
    cfe/trunk/test/SemaCXX/crashes.cpp

Removed: cfe/trunk/test/SemaCXX/crash-PR7625.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/crash-PR7625.cpp?rev=117758&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/crash-PR7625.cpp (original)
+++ cfe/trunk/test/SemaCXX/crash-PR7625.cpp (removed)
@@ -1,6 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
-template<typename T> struct a : T {
- struct x : T {
-   int aa() { return p; } // expected-error{{use of undeclared identifier 'p'}}
- };
-};

Modified: cfe/trunk/test/SemaCXX/crashes.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/crashes.cpp?rev=117759&r1=117758&r2=117759&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/crashes.cpp (original)
+++ cfe/trunk/test/SemaCXX/crashes.cpp Fri Oct 29 20:06:23 2010
@@ -19,3 +19,10 @@
     Bar i;
   }
 };
+
+// PR7625
+template<typename T> struct a : T {
+ struct x : T {
+   int aa() { return p; } // expected-error{{use of undeclared identifier 'p'}}
+ };
+};





More information about the cfe-commits mailing list