diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2019-05-14 12:09:55 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2019-05-14 12:09:55 +0000 |
commit | d06f3917913d2558b771ccc48d838f8cd8993c01 (patch) | |
tree | 957516d03841b0c4dd0d364b70718a0f592e8f62 /clang/test/Sema/c2x-maybe_unused-errors.c | |
parent | 2dd5283d2a3ad0d6566af13bd1c79d314bdea5bc (diff) | |
download | bcm5719-llvm-d06f3917913d2558b771ccc48d838f8cd8993c01.tar.gz bcm5719-llvm-d06f3917913d2558b771ccc48d838f8cd8993c01.zip |
Add a new language mode for C2x; enable [[attribute]] support by default in C2x.
llvm-svn: 360667
Diffstat (limited to 'clang/test/Sema/c2x-maybe_unused-errors.c')
-rw-r--r-- | clang/test/Sema/c2x-maybe_unused-errors.c | 2 |
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]]; |