summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-10-13 18:40:21 +0000
committerEric Christopher <echristo@gmail.com>2015-10-13 18:40:21 +0000
commite45972719e75d5fac89b6e5df81273ee5cb4683d (patch)
treef7d07d5b5d5d90c1d1639de32ee3a5254e75fdcb /clang/test/CodeGen
parent525334cf6c85c41f816e62e58d32609e287118ed (diff)
downloadbcm5719-llvm-e45972719e75d5fac89b6e5df81273ee5cb4683d.tar.gz
bcm5719-llvm-e45972719e75d5fac89b6e5df81273ee5cb4683d.zip
Move the adc-builtins test to the pattern of the other builtins
tests by predefining _MM_MALLOC_H rather than use -ffreestanding. llvm-svn: 250203
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r--clang/test/CodeGen/adc-builtins.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGen/adc-builtins.c b/clang/test/CodeGen/adc-builtins.c
index 5577d22c60b..0d8d6fa0347 100644
--- a/clang/test/CodeGen/adc-builtins.c
+++ b/clang/test/CodeGen/adc-builtins.c
@@ -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>
OpenPOWER on IntegriCloud