Skip to content

Commit 6788769

Browse files
committed
Rename test & run C & C++
1 parent 800fde9 commit 6788769

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/test/KeyInstructions/init-agg.cpp renamed to clang/test/KeyInstructions/init-agg.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11

2-
// RUN: %clang -gkey-instructions %s -gmlt -gno-column-info -S -emit-llvm -o - -ftrivial-auto-var-init=pattern \
2+
// RUN: %clang -gkey-instructions -x c++ %s -gmlt -gno-column-info -S -emit-llvm -o - -ftrivial-auto-var-init=pattern \
3+
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
4+
5+
// RUN: %clang -gkey-instructions -x c %s -gmlt -gno-column-info -S -emit-llvm -o - -ftrivial-auto-var-init=pattern \
36
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
47

58
// The implicit-check-not is important; we don't want the GEPs created for the
69
// store locations to be included in the atom group.
710

811
int g;
912
void a() {
10-
// CHECK: _Z1av()
1113
// CHECK: call void @llvm.memcpy{{.*}}, !dbg [[G1R1:!.*]]
1214
int A[] = { 1, 2, 3 };
1315

0 commit comments

Comments
 (0)