annotate clang/test/Modules/libstdcxx-ambiguous-internal.cpp @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1f2b6ac9f198
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
2 // 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
anatofuz
parents:
diff changeset
3 // 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
anatofuz
parents:
diff changeset
4
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
5 // CHECK-NOT: error:
150
anatofuz
parents:
diff changeset
6 // CHECK: warning: ambiguous use of internal linkage declaration 'f' defined in multiple modules
anatofuz
parents:
diff changeset
7 // CHECK: note: declared here in module 'std.C'
anatofuz
parents:
diff changeset
8 // CHECK: note: declared here in module 'std.B'
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
9 // CHECK-NOT: error:
150
anatofuz
parents:
diff changeset
10 // CHECK: warning: ambiguous use of internal linkage declaration 'n' defined in multiple modules
anatofuz
parents:
diff changeset
11 // CHECK: note: declared here in module 'std.C'
anatofuz
parents:
diff changeset
12 // CHECK: note: declared here in module 'std.B'
252
1f2b6ac9f198 LLVM16-1
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
13 // CHECK-NOT: error: