diff options
Diffstat (limited to 'clang/test/CXX/basic/basic.link/p3.cpp')
-rw-r--r-- | clang/test/CXX/basic/basic.link/p3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CXX/basic/basic.link/p3.cpp b/clang/test/CXX/basic/basic.link/p3.cpp index 23f39d1..0120226 100644 --- a/clang/test/CXX/basic/basic.link/p3.cpp +++ b/clang/test/CXX/basic/basic.link/p3.cpp @@ -15,7 +15,8 @@ export module m; // #1 // Import errors are fatal, so we test them in isolation. #if IMPORT_ERROR == 1 -import x = {}; // expected-error {{module 'x' not found}} +import x = {}; // expected-error {{expected ';' after module name}} + // expected-error@-1 {{module 'x' not found}} #elif IMPORT_ERROR == 2 struct X; |