summaryrefslogtreecommitdiff
path: root/test/Parser/cxx11-stmt-attributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx11-stmt-attributes.cpp')
-rw-r--r--test/Parser/cxx11-stmt-attributes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Parser/cxx11-stmt-attributes.cpp b/test/Parser/cxx11-stmt-attributes.cpp
index 9374b58b1f240..75fb37ea9fb44 100644
--- a/test/Parser/cxx11-stmt-attributes.cpp
+++ b/test/Parser/cxx11-stmt-attributes.cpp
@@ -80,5 +80,6 @@ void foo(int i) {
{
[[ ]] // expected-error {{an attribute list cannot appear here}}
#pragma STDC FP_CONTRACT ON // expected-error {{can only appear at file scope or at the start of a compound statement}}
+#pragma clang fp contract(fast) // expected-error {{can only appear at file scope or at the start of a compound statement}}
}
}