summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/c2x-attributes.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/c2x-attributes.c')
-rw-r--r--clang/test/Parser/c2x-attributes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Parser/c2x-attributes.c b/clang/test/Parser/c2x-attributes.c
index f261dee200a..97f17ad4e7c 100644
--- a/clang/test/Parser/c2x-attributes.c
+++ b/clang/test/Parser/c2x-attributes.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -fdouble-square-bracket-attributes -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=gnu2x -verify %s
enum [[]] E {
One [[]],
OpenPOWER on IntegriCloud