xref: /minix3/external/bsd/llvm/dist/clang/test/Index/retain-target-options.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: c-index-test -test-load-source all -target x86_64-apple-darwin10.0.0 -msse4.1 %s 2>&1 | FileCheck %s
2*f4a2713aSLionel Sambuc // RUN: c-index-test -test-load-source-reparse 1 all -target x86_64-apple-darwin10.0.0 -msse4.1 %s 2>&1 | FileCheck %s
3*f4a2713aSLionel Sambuc // RUN: c-index-test -test-load-source-reparse 5 all -target x86_64-apple-darwin10.0.0 -msse4.1 %s 2>&1 | FileCheck %s
4*f4a2713aSLionel Sambuc 
5*f4a2713aSLionel Sambuc // CHECK: error: SSE4_1 used
6*f4a2713aSLionel Sambuc #if defined(__SSE4_1__)
7*f4a2713aSLionel Sambuc #error SSE4_1 used
8*f4a2713aSLionel Sambuc #endif
9