Sign in
llvm
/
llvm-project
/
51a86e75ddf3eac3057c901bbe5e750dea62c7c1
/
.
/
clang
/
test
/
SemaCXX
/
attr-nodebug.cpp
blob: fd35722f62b1cc659ca30b978e02e2dbfbe41610 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -std=c++11 -verify -fsyntax-only
// Note: most of the 'nodebug' tests are in attr-nodebug.c.
// expected-no-diagnostics
class
c
{
void
t3
()
__attribute__
((
nodebug
));
};
[[
gnu
::
nodebug
]]
void
f
()
{}