Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi -emit-llvm -o - %s | FileCheck %s
      2 
      3 // CHECK: declare i32 @printf(i8*, ...)
      4 void f0() {
      5   printf("a\n");
      6 }
      7 
      8 // CHECK: call void @exit
      9 // CHECK: unreachable
     10 void f1() {
     11   exit(1);
     12 }
     13 
     14 // CHECK: call i8* @strstr{{.*}} nounwind
     15 char* f2(char* a, char* b) {
     16   return __builtin_strstr(a, b);
     17 }
     18