]> granicus.if.org Git - clang/commitdiff
Move the adc-builtins test to the pattern of the other builtins
authorEric Christopher <echristo@gmail.com>
Tue, 13 Oct 2015 18:40:21 +0000 (18:40 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 13 Oct 2015 18:40:21 +0000 (18:40 +0000)
tests by predefining _MM_MALLOC_H rather than use -ffreestanding.

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

test/CodeGen/adc-builtins.c

index 5577d22c60b3763825d1ab3a2c4483f2f7790595..0d8d6fa03476f1aba60f0385dad33e36415a215a 100644 (file)
@@ -1,4 +1,6 @@
-// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ffreestanding -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
+
+#define __MM_MALLOC_H
 
 #include <x86intrin.h>