summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-deprecated-c2x.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/attr-deprecated-c2x.c')
-rw-r--r--clang/test/Sema/attr-deprecated-c2x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/attr-deprecated-c2x.c b/clang/test/Sema/attr-deprecated-c2x.c
index 2505f1294c3..744fb1f7c40 100644
--- a/clang/test/Sema/attr-deprecated-c2x.c
+++ b/clang/test/Sema/attr-deprecated-c2x.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -fdouble-square-bracket-attributes
+// RUN: %clang_cc1 %s -verify -fsyntax-only --std=c2x
int f() [[deprecated]]; // expected-note 2 {{'f' has been explicitly marked deprecated here}}
void g() [[deprecated]];// expected-note {{'g' has been explicitly marked deprecated here}}
OpenPOWER on IntegriCloud