Add regression test for PR37935.

llvm-svn: 335725
This commit is contained in:
Nico Weber 2018-06-27 12:05:06 +00:00
parent 0d63dbbc32
commit f08125c7c4
1 changed files with 3 additions and 0 deletions

View File

@ -24,3 +24,6 @@ void g() {
}
namespace M = N; // expected-warning {{'N' is deprecated}}
// Shouldn't diag:
[[nodiscard, deprecated("")]] int PR37935();