summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/struct-class-redecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/struct-class-redecl.cpp')
-rw-r--r--test/SemaCXX/struct-class-redecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/struct-class-redecl.cpp b/test/SemaCXX/struct-class-redecl.cpp
index 5c59578..e1b95ba 100644
--- a/test/SemaCXX/struct-class-redecl.cpp
+++ b/test/SemaCXX/struct-class-redecl.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -Wmismatched-tags -verify %s
-// RUN: %clang_cc1 -fsyntax-only -Wmismatched-tags %s 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -fsyntax-only -Wmismatched-tags %s 2>&1 | FileCheck %s
class X; // expected-note 2{{here}}
typedef struct X * X_t; // expected-warning{{previously declared}}
union X { int x; float y; }; // expected-error{{use of 'X' with tag type that does not match previous declaration}}
OpenPOWER on IntegriCloud