Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -std=c++11 -verify -fsyntax-only |
Rafael Espindola | 946fa65 | 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 | }; | ||||
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 8 | |
9 | [[gnu::nodebug]] void f() {} |