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