summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/modules-ts.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/modules-ts.cppm')
-rw-r--r--clang/test/SemaCXX/modules-ts.cppm2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/modules-ts.cppm b/clang/test/SemaCXX/modules-ts.cppm
index 065818c562a..f64a4c0ab41 100644
--- a/clang/test/SemaCXX/modules-ts.cppm
+++ b/clang/test/SemaCXX/modules-ts.cppm
@@ -14,7 +14,7 @@ export module foo;
#endif
static int m;
-#if TEST == 2 // FIXME: 'm' has internal linkage, so there should be no error here
+#if TEST == 2
// expected-error@-2 {{redefinition of '}}
// expected-note@-3 {{unguarded header; consider using #ifdef guards or #pragma once}}
// FIXME: We should drop the "header from" in this diagnostic.
OpenPOWER on IntegriCloud