Daniel Dunbar | 34771b5 | 2009-09-14 04:33:21 +0000 | [diff] [blame^] | 1 | // RUN: clang-cc -triple arm-unknown-unknown -emit-llvm -o - %s | FileCheck %s |
2 | |||||
3 | // CHECK: declare arm_aapcscc i32 @printf(i8*, ...) | ||||
4 | void f0() { | ||||
5 | printf("a\n"); | ||||
6 | } | ||||
7 | |||||
8 | // CHECK: call arm_aapcscc void @exit | ||||
9 | // CHECK: unreachable | ||||
10 | void f1() { | ||||
11 | exit(1); | ||||
12 | } |