summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r--clang/test/CodeGen/xcore-abi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/test/CodeGen/xcore-abi.c b/clang/test/CodeGen/xcore-abi.c
index 262e6021516..1b12ce41d3c 100644
--- a/clang/test/CodeGen/xcore-abi.c
+++ b/clang/test/CodeGen/xcore-abi.c
@@ -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]; };
OpenPOWER on IntegriCloud