]> granicus.if.org Git - clang/commitdiff
Fix make-check issues
authorStrahinja Petrovic <strahinja.petrovic@rt-rk.com>
Fri, 24 Jun 2016 13:11:15 +0000 (13:11 +0000)
committerStrahinja Petrovic <strahinja.petrovic@rt-rk.com>
Fri, 24 Jun 2016 13:11:15 +0000 (13:11 +0000)
Fixing build issue for test test/CodeGen/struct-union-BE.c.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273675 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/struct-union-BE.c

index 9d1c86dee546fc95503cd7f7809e3977ebaf6693..69ab1e8dcc4d532f92ffd01c4ce81dd8b39e6fde 100644 (file)
@@ -1,9 +1,10 @@
-// RUN: %clang -O2 -target mips-linux-gnu  -EB -S -emit-llvm %s -o - | FileCheck %s -check-prefix=MIPS
-// RUN: %clang -O2 -target mips64-linux-gnu  -EB -S -emit-llvm %s -o - | FileCheck %s -check-prefix=MIPS64
-// RUN: %clang -O2 -target armeb-linux-gnueabihf -march=armv7a  -EB -S -emit-llvm %s -o - | FileCheck %s -check-prefix=ARM
+// RUN: %clang_cc1 -triple mips-linux-gnu  -S -emit-llvm %s -o - | FileCheck %s -check-prefix=MIPS
+// RUN: %clang_cc1 -triple mips64-linux-gnu  -S -emit-llvm %s -o - | FileCheck %s -check-prefix=MIPS64
+// RUN: %clang_cc1 -triple armebv7-linux-gnueabihf -S -emit-llvm %s -o - | FileCheck %s -check-prefix=ARM
 
 #include <stdarg.h>
-#include <stdlib.h>
+
+extern void abort() __attribute__((noreturn));
 
 struct tiny {
   char c;