// RUN: %clang_cc1 -std=c++11 -verify=ext -fsyntax-only -Wfuture-attribute-extensions %s
// RUN: %clang_cc1 -std=c++11 -verify -fsyntax-only -Wno-future-attribute-extensions %s
// RUN: %clang_cc1 -std=c++11 -verify -fsyntax-only -Wno-c++14-attribute-extensions -Wno-c++17-attribute-extensions -Wno-c++20-attribute-extensions %s
// expected-no-diagnostics
int ; // ext-warning {{use of the 'deprecated' attribute is a C++14 extension}}
int ; // ext-warning {{use of the 'deprecated' attribute is a C++14 extension}}
int ; // ext-warning {{use of the 'nodiscard' attribute is a C++17 extension}}
int ; // ext-warning {{use of the 'nodiscard' attribute is a C++20 extension}}
void