r218959 - Make test/Sema/atomic-ops.c free-standing

Hal Finkel hfinkel at anl.gov
Thu Oct 2 21:46:48 PDT 2014


Author: hfinkel
Date: Thu Oct  2 23:46:48 2014
New Revision: 218959

URL: http://llvm.org/viewvc/llvm-project?rev=218959&view=rev
Log:
Make test/Sema/atomic-ops.c free-standing

This test includes stdint.h, which might include system headers (and that might
not work, depending on the system configuration). Attempting to fix
llvm-clang-lld-x86_64-debian-fast.

Modified:
    cfe/trunk/test/Sema/atomic-ops.c

Modified: cfe/trunk/test/Sema/atomic-ops.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/atomic-ops.c?rev=218959&r1=218958&r2=218959&view=diff
==============================================================================
--- cfe/trunk/test/Sema/atomic-ops.c (original)
+++ cfe/trunk/test/Sema/atomic-ops.c Thu Oct  2 23:46:48 2014
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -triple=i686-linux-gnu -std=c11
+// RUN: %clang_cc1 %s -verify -ffreestanding -fsyntax-only -triple=i686-linux-gnu -std=c11
 
 // Basic parsing/Sema tests for __c11_atomic_*
 





More information about the cfe-commits mailing list