summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/module-private.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/module-private.cpp')
-rw-r--r--clang/test/Modules/module-private.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/Modules/module-private.cpp b/clang/test/Modules/module-private.cpp
index 42ab185760b..30957865d1c 100644
--- a/clang/test/Modules/module-private.cpp
+++ b/clang/test/Modules/module-private.cpp
@@ -18,9 +18,7 @@ int test_broken() {
int *ip = 0;
f1(ip); // expected-error{{use of undeclared identifier 'f1'}}
- vector<int> vec; // expected-error{{use of undeclared identifier 'vector'}} \
- // expected-error{{expected '(' for function-style cast or type construction}} \
- // expected-error{{use of undeclared identifier 'vec'}}
+ vector<int> vec; // expected-error{{no template named 'vector'}}
VisibleStruct vs;
vs.field = 0; // expected-error{{no member named 'field' in 'VisibleStruct'}}
OpenPOWER on IntegriCloud