Add a test showing that nodebug is accepted in methods too. Patch by
Paul Robinson. llvm-svn: 166606
This commit is contained in:
parent
e26c5571b2
commit
c9d17591d9
|
@ -0,0 +1,7 @@
|
|||
// RUN: %clang_cc1 %s -verify -fsyntax-only
|
||||
// Note: most of the 'nodebug' tests are in attr-nodebug.c.
|
||||
|
||||
// expected-no-diagnostics
|
||||
class c {
|
||||
void t3() __attribute__((nodebug));
|
||||
};
|
Loading…
Reference in New Issue