diff clang/test/Modules/libstdcxx-ambiguous-internal.cpp @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents 1d019706d866
children
line wrap: on
line diff
--- a/clang/test/Modules/libstdcxx-ambiguous-internal.cpp	Wed Nov 09 17:47:54 2022 +0900
+++ b/clang/test/Modules/libstdcxx-ambiguous-internal.cpp	Fri Aug 18 09:04:13 2023 +0900
@@ -2,12 +2,12 @@
 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -emit-module -fmodule-name=std -fmodules-cache-path=%t %S/Inputs/libstdcxx-ambiguous-internal/module.modulemap -Werror
 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -emit-module -fmodule-name=std -fmodules-cache-path=%t %S/Inputs/libstdcxx-ambiguous-internal/module.modulemap -fmodules-local-submodule-visibility -DAMBIGUOUS 2>&1| FileCheck %s
 
-// CHECK-NOT: error
+// CHECK-NOT: error:
 // CHECK: warning: ambiguous use of internal linkage declaration 'f' defined in multiple modules
 // CHECK: note: declared here in module 'std.C'
 // CHECK: note: declared here in module 'std.B'
-// CHECK-NOT: error
+// CHECK-NOT: error:
 // CHECK: warning: ambiguous use of internal linkage declaration 'n' defined in multiple modules
 // CHECK: note: declared here in module 'std.C'
 // CHECK: note: declared here in module 'std.B'
-// CHECK-NOT: error
+// CHECK-NOT: error: