Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b5b37d194dddb960f43f763b3f9c3e17e7be3c2d
/
.
/
test
/
Parser
/
pragma-fp-contract.c
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
}