• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; REQUIRES: x86-registered-target
2; RUN: %clang_cc1 -triple x86_64-apple-darwin10 -S -o - %s | FileCheck %s
3
4; RUN: %clang_cc1 -triple x86_64-pc-linux -S -o %t %s 2>&1 | \
5; RUN: FileCheck --check-prefix=WARN %s
6; WARN: warning: overriding the module target triple with x86_64-pc-linux
7; RUN: FileCheck --check-prefix=LINUX %s < %t
8
9target triple = "x86_64-apple-darwin10"
10
11; CHECK: .globl _f0
12; LINUX: .globl f0
13define i32 @f0() nounwind ssp {
14       ret i32 0
15}
16