mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-26 06:48:51 -04:00

clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
13 lines
233 B
C
13 lines
233 B
C
// RUN: %clang -emit-ast -o %t.ast %s
|
|
// RUN: %clang -emit-llvm -S -o - %t.ast | FileCheck %s
|
|
|
|
// CHECK: module asm "foo"
|
|
__asm__("foo");
|
|
|
|
// CHECK: @g0 = common global i32 0, align 4
|
|
int g0;
|
|
|
|
// CHECK: define i32 @f0()
|
|
int f0() {
|
|
}
|