Aaron Ballman | 953e985 | 2014-10-21 15:46:57 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -std=c++11 -verify -fsyntax-only |
Rafael Espindola | c9d1759 | 2012-10-24 18:34:26 +0000 | [diff] [blame] | 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 | }; | ||||
Aaron Ballman | 953e985 | 2014-10-21 15:46:57 +0000 | [diff] [blame] | 8 | |
9 | [[gnu::nodebug]] void f() {} |