2014-10-21 23:46:57 +08:00
|
|
|
// RUN: %clang_cc1 %s -std=c++11 -verify -fsyntax-only
|
2012-10-25 02:34:26 +08:00
|
|
|
// Note: most of the 'nodebug' tests are in attr-nodebug.c.
|
|
|
|
|
|
|
|
// expected-no-diagnostics
|
|
|
|
class c {
|
|
|
|
void t3() __attribute__((nodebug));
|
|
|
|
};
|
2014-10-21 23:46:57 +08:00
|
|
|
|
|
|
|
[[gnu::nodebug]] void f() {}
|