projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b530ea
)
Test case for r167363.
author
Lang Hames
<lhames@gmail.com>
Sun, 4 Nov 2012 05:08:08 +0000
(
05:08
+0000)
committer
Lang Hames
<lhames@gmail.com>
Sun, 4 Nov 2012 05:08:08 +0000
(
05:08
+0000)
llvm-svn: 167369
clang/test/Parser/pragma-fp-contract.c
patch
|
blob
|
history
diff --git
a/clang/test/Parser/pragma-fp-contract.c
b/clang/test/Parser/pragma-fp-contract.c
index
fa2bb11
..
568c0a0
100644
(file)
--- a/
clang/test/Parser/pragma-fp-contract.c
+++ b/
clang/test/Parser/pragma-fp-contract.c
@@
-5,3
+5,8
@@
void f1(void) {
/* expected-error@+1 {{'#pragma fp_contract' should only appear at file scope or at the start of a compound expression}} */
#pragma STDC FP_CONTRACT ON
}
+
+void f2(void) {
+ #pragma STDC FP_CONTRACT OFF
+ #pragma STDC FP_CONTRACT ON
+}