[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / SemaCXX / attr-nodebug.cpp
blobfd35722f62b1cc659ca30b978e02e2dbfbe41610
1 // RUN: %clang_cc1 %s -std=c++11 -verify -fsyntax-only
2 // Note: most of the 'nodebug' tests are in attr-nodebug.c.
4 // expected-no-diagnostics
5 class c {
6 void t3() __attribute__((nodebug));
7 };
9 [[gnu::nodebug]] void f() {}