// RUN: %clang_cc1 -fsyntax-only -Wunused -Wused-but-marked-unused -std=c++17 -Wc++17-extensions -verify %s
// RUN: %clang_cc1 -fsyntax-only -Wunused -Wused-but-marked-unused -std=c++11 -Wc++17-extensions -verify -DEXT %s
static_assert;
;
;
void
// expected-warning@6 {{use of the 'maybe_unused' attribute is a C++17 extension}}
// expected-warning@9 {{use of the 'maybe_unused' attribute is a C++17 extension}}
// expected-warning@9 {{attributes on an enumerator declaration are a C++17 extension}}
// expected-warning@21 {{use of the 'maybe_unused' attribute is a C++17 extension}}
// expected-warning@22 {{use of the 'maybe_unused' attribute is a C++17 extension}}