summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/c2x-maybe_unused-errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/c2x-maybe_unused-errors.c')
-rw-r--r--clang/test/Sema/c2x-maybe_unused-errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/c2x-maybe_unused-errors.c b/clang/test/Sema/c2x-maybe_unused-errors.c
index 68150dded9d..39ec2da9a15 100644
--- a/clang/test/Sema/c2x-maybe_unused-errors.c
+++ b/clang/test/Sema/c2x-maybe_unused-errors.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -Wunused -fdouble-square-bracket-attributes -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wunused -std=c2x -verify %s
struct [[maybe_unused]] S1 { // ok
int a [[maybe_unused]];
OpenPOWER on IntegriCloud