Skip to content
Snippets Groups Projects
Commit c3a4b12c authored by Anders Carlsson's avatar Anders Carlsson
Browse files

Change a test to FileCheck bitcode instead of assembler.

llvm-svn: 99863
parent 57a05423
No related branches found
No related tags found
No related merge requests found
// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
// RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
// RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
extern "C" int printf(...);
......@@ -24,6 +21,7 @@ struct P {
};
// CHECK: define linkonce_odr void @_ZN1XC1ERKS_
struct X : M, N, P { // ...
X() : f1(1.0), d1(2.0), i1(3), name("HELLO"), bf1(0xff), bf2(0xabcd),
au_i1(1234), au1_4("MASKED") {}
......@@ -112,11 +110,3 @@ struct B : A {
void f(const B &b1) {
B b2(b1);
}
// CHECK-LP64: .globl __ZN1XC1ERKS_
// CHECK-LP64: .weak_definition __ZN1XC1ERKS_
// CHECK-LP64: __ZN1XC1ERKS_:
// CHECK-LP32: .globl __ZN1XC1ERKS_
// CHECK-LP32: .weak_definition __ZN1XC1ERKS_
// CHECK-LP32: __ZN1XC1ERKS_:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment