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