Sign in
cobalt
/
cobalt
/
dc98e529721071ac658df8d497cd103ceb8762c1
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
SemaCXX
/
attr-disable-tail-calls.cpp
blob: d442aa6d4409364e474b213a6b931eb0f0a418aa [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// expected-no-diagnostics
class
B
{
public
:
[[
clang
::
disable_tail_calls
]]
virtual
int
foo1
()
{
return
1
;
}
[[
clang
::
disable_tail_calls
]]
int
foo2
()
{
return
2
;
}
};