]> granicus.if.org Git - clang/commitdiff
correct test RUN parameters
authorRobert Lytton <robert@xmos.com>
Fri, 23 Aug 2013 09:27:44 +0000 (09:27 +0000)
committerRobert Lytton <robert@xmos.com>
Fri, 23 Aug 2013 09:27:44 +0000 (09:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189093 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/xcore-abi.c

index 262e60215162c3bdb7409423429741a8b2ec65da..1b12ce41d3c4446b1174d10252fd14aef41802ed 100644 (file)
@@ -1,12 +1,10 @@
-// RUN: %clang -target xcore -O0 -o - -emit-llvm -S %s | FileCheck %s
+// RUN: %clang_cc1 -triple xcore-unknown-unknown -fno-signed-char -fno-common -emit-llvm -o - %s | FileCheck %s
 
 // CHECK: target datalayout = "e-p:32:32:32-a0:0:32-n32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f16:16:32-f32:32:32-f64:32:32"
-// CHECK: target triple = "xcore"
+// CHECK: target triple = "xcore-unknown-unknown"
 
 // CHECK: @g1 = global i32 0, align 4
 int g1;
-// CHECK: @g2 = common global i32 0, align 4
-int g2 __attribute__((common));
 
 #include <stdarg.h>
 struct x { int a[5]; };