Author: echristo Date: Tue Oct 13 13:40:21 2015 New Revision: 250203 URL: http://llvm.org/viewvc/llvm-project?rev=250203&view=rev Log: Move the adc-builtins test to the pattern of the other builtins tests by predefining _MM_MALLOC_H rather than use -ffreestanding.
Modified: cfe/trunk/test/CodeGen/adc-builtins.c Modified: cfe/trunk/test/CodeGen/adc-builtins.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/adc-builtins.c?rev=250203&r1=250202&r2=250203&view=diff ============================================================================== --- cfe/trunk/test/CodeGen/adc-builtins.c (original) +++ cfe/trunk/test/CodeGen/adc-builtins.c Tue Oct 13 13:40:21 2015 @@ -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> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits