1 // RUN: %clang_cc1 %s -std=c++11 -verify -fsyntax-only
2 // Note: most of the 'nodebug' tests are in attr-nodebug.c.
3 
4 // expected-no-diagnostics
5 class c {
6   void t3() __attribute__((nodebug));
7 };
8 
f()9 [[gnu::nodebug]] void f() {}
10