From: Eric Christopher Date: Tue, 13 Oct 2015 18:40:21 +0000 (+0000) Subject: Move the adc-builtins test to the pattern of the other builtins X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfa2e202ee04854fd5533776186b063449a9a1e2;p=clang Move the adc-builtins test to the pattern of the other builtins 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 --- diff --git a/test/CodeGen/adc-builtins.c b/test/CodeGen/adc-builtins.c index 5577d22c60..0d8d6fa034 100644 --- a/test/CodeGen/adc-builtins.c +++ b/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