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