Test case for r167363.

llvm-svn: 167369
This commit is contained in:
Lang Hames 2012-11-04 05:08:08 +00:00
parent 3b530ea605
commit 080b01e622
1 changed files with 5 additions and 0 deletions

View File

@ -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
}