summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/c2x-maybe_unused.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/c2x-maybe_unused.c')
-rw-r--r--clang/test/Sema/c2x-maybe_unused.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/c2x-maybe_unused.c b/clang/test/Sema/c2x-maybe_unused.c
index 816cf7835fa..82b9634fc9f 100644
--- a/clang/test/Sema/c2x-maybe_unused.c
+++ b/clang/test/Sema/c2x-maybe_unused.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