Index: test/Sema/attr-nodebug.cpp =================================================================== --- test/Sema/attr-nodebug.cpp (revision 0) +++ test/Sema/attr-nodebug.cpp (revision 0) @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 %s -verify -fsyntax-only +// Note: most of the 'nodebug' tests are in attr-nodebug.c. + +// expected-no-diagnostics +class c { + void t3() __attribute__((nodebug)); +};