[cfe-commits] r124385 - /cfe/trunk/test/Index/retain-target-options.c

Douglas Gregor dgregor at apple.com
Thu Jan 27 10:39:26 PST 2011


Author: dgregor
Date: Thu Jan 27 12:39:26 2011
New Revision: 124385

URL: http://llvm.org/viewvc/llvm-project?rev=124385&view=rev
Log:
Test for previous commit

Added:
    cfe/trunk/test/Index/retain-target-options.c   (with props)

Added: cfe/trunk/test/Index/retain-target-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/retain-target-options.c?rev=124385&view=auto
==============================================================================
--- cfe/trunk/test/Index/retain-target-options.c (added)
+++ cfe/trunk/test/Index/retain-target-options.c Thu Jan 27 12:39:26 2011
@@ -0,0 +1,8 @@
+// RUN: c-index-test -test-load-source all -ccc-host-triple x86_64-apple-darwin10.0.0 -msse4.1 %s 2>&1 | FileCheck %s
+// RUN: c-index-test -test-load-source-reparse 1 all -ccc-host-triple x86_64-apple-darwin10.0.0 -msse4.1 %s 2>&1 | FileCheck %s
+// RUN: c-index-test -test-load-source-reparse 5 all -ccc-host-triple x86_64-apple-darwin10.0.0 -msse4.1 %s 2>&1 | FileCheck %s
+
+// CHECK: error: #error SSE4_1 used
+#if defined(__SSE4_1__)
+#error SSE4_1 used
+#endif

Propchange: cfe/trunk/test/Index/retain-target-options.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cfe/trunk/test/Index/retain-target-options.c
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: cfe/trunk/test/Index/retain-target-options.c
------------------------------------------------------------------------------
    svn:mime-type = text/plain





More information about the cfe-commits mailing list