diff options
Diffstat (limited to 'clang/test/CXX/cpp/cpp.module/p2.cpp')
| -rw-r--r-- | clang/test/CXX/cpp/cpp.module/p2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CXX/cpp/cpp.module/p2.cpp b/clang/test/CXX/cpp/cpp.module/p2.cpp index ae68a508a02..d5bf4fa1a65 100644 --- a/clang/test/CXX/cpp/cpp.module/p2.cpp +++ b/clang/test/CXX/cpp/cpp.module/p2.cpp @@ -13,10 +13,9 @@ template<> struct import<0> { }; // OK, not an import-declaration. -// FIXME: This is valid, see PR41192 -struct A {} // FIXME expected-error {{expected ';'}} +struct A {} ::import -<empty.h>::a; // FIXME expected-error {{requires a type specifier}} +<empty.h>::a; // This is invalid: the tokens after 'import' are a header-name, so cannot be // parsed as a template-argument-list. |

