]> granicus.if.org Git - clang/commitdiff
Add test/SemaCXX/crash-PR7625.cpp into test/SemaCXX/crashes.cpp
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 30 Oct 2010 01:06:23 +0000 (01:06 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 30 Oct 2010 01:06:23 +0000 (01:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117759 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/crash-PR7625.cpp [deleted file]
test/SemaCXX/crashes.cpp

diff --git a/test/SemaCXX/crash-PR7625.cpp b/test/SemaCXX/crash-PR7625.cpp
deleted file mode 100644 (file)
index 3ddf5e5..0000000
+++ /dev/null
@@ -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'}}
- };
-};
index 78a031561a5f56cf047187ad37ccaa898d3a642d..9da0b82babb35663ae4591f2f16c168cfff58609 100644 (file)
@@ -19,3 +19,10 @@ class Foo {
     Bar i;
   }
 };
+
+// PR7625
+template<typename T> struct a : T {
+ struct x : T {
+   int aa() { return p; } // expected-error{{use of undeclared identifier 'p'}}
+ };
+};