File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
clang/test/CXX/module/basic/basic.def.odr Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 2
2
// RUN: mkdir %t
3
3
// RUN: split-file %s %t
4
4
//
5
- // RUN: %clang_cc1 -std=c++20 %t/Module.cppm -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %t/Module.cppm --implicit-check-not unused_inline --implicit-check-not unused_stastic_global_module
5
+ // RUN: %clang_cc1 -std=c++20 %t/Module.cppm -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %t/Module.cppm --implicit-check-not unused
6
6
//
7
7
// RUN: %clang_cc1 -std=c++20 %t/Module.cppm -triple %itanium_abi_triple -emit-module-interface -o %t/Module.pcm
8
8
// RUN: %clang_cc1 -std=c++20 %t/module.cpp -triple %itanium_abi_triple -fmodule-file=%t/Module.pcm -emit-llvm -o - | FileCheck %t/module.cpp --implicit-check-not=unused --implicit-check-not=global_module
33
33
// CHECK-DAG: @_ZL24const_var_module_linkage = internal
34
34
//
35
35
// CHECK-DAG: @_ZW6Module25unused_var_module_linkage = {{(dso_local )?}}global i32 4
36
- // CHECK-NOT: @_ZW6Module32unused_static_var_module_linkage =
37
- // CHECK-NOT: @_ZW6Module31unused_const_var_module_linkage =
38
36
39
37
module ;
40
38
@@ -85,7 +83,6 @@ export {
85
83
}
86
84
}
87
85
88
- // CHECK-NOT: define {{(dso_local )?}}void {{.*}}@_ZW6Module28unused_static_module_linkagev
89
86
static void unused_static_module_linkage () {}
90
87
91
88
static void used_static_module_linkage () {}
You can’t perform that action at this time.
0 commit comments