Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
9257664568bf375b7790131a84d9a4fa30a5b7e3
/
.
/
test
/
Parser
/
cxx-attributes.cpp
blob: 8603b30900162d763d3562c512eabce268ddb987 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
class
c
{
virtual
void
f1
(
const
char
*
a
,
...)
__attribute__
((
__format__
(
__printf__
,
2
,
3
)
))
=
0
;
virtual
void
f2
(
const
char
*
a
,
...)
__attribute__
((
__format__
(
__printf__
,
2
,
3
)
))
{}
};