• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -triple=i686-pc-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=LINUX
2 // RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm %s -o - | FileCheck %s --check-prefix=DARWIN
3 
4 char *strerror(int) asm("alias");
5 
test(void)6 void test(void)
7 {
8 	strerror(-1);
9 }
10 
11 // LINUX: declare i8* @alias(i32)
12 // DARWIN: declare i8* @"\01alias"(i32)
13