File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 1
- // REQUIRES: x86-registered-target,x86-64-registered-target
2
- // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -S %s -o %t-64.s
3
- // RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
4
- // RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -S %s -o %t-32.s
5
- // RUN: FileCheck -check-prefix CHECK-LP32 --input-file=%t-32.s %s
1
+ // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o - | \
2
+ // RUN: FileCheck %s
3
+ // RUN: %clang_cc1 -triple i386-apple-darwin -std=c++11 -emit-llvm %s -o - | \
4
+ // RUN: FileCheck %s
6
5
7
6
extern " C" int printf (...);
8
7
@@ -31,10 +30,6 @@ int main() {
31
30
X d (a, 5 , 6 );
32
31
}
33
32
34
- // CHECK-LP64: callq __ZN1XC1ERKS_iii
35
- // CHECK-LP64: callq __ZN1XC1ERKS_iii
36
- // CHECK-LP64: callq __ZN1XC1ERKS_iii
37
-
38
- // CHECK-LP32: calll L__ZN1XC1ERKS_iii
39
- // CHECK-LP32: calll L__ZN1XC1ERKS_iii
40
- // CHECK-LP32: calll L__ZN1XC1ERKS_iii
33
+ // CHECK: call void @_ZN1XC1ERKS_iii
34
+ // CHECK: call void @_ZN1XC1ERKS_iii
35
+ // CHECK: call void @_ZN1XC1ERKS_iii
You can’t perform that action at this time.
0 commit comments