blob: fa2bb11d9c7d5691065237ad68bf8f1e4189608a [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
void f1(void) {
int x = 0;
/* 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
}