Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib33.C
blob: 5b98984912839993131f15b9f8b866ab719defb5 [
file
] [
log
] [
blame
]
// PR c++/35546
// { dg-do compile }
template
<
int
N
>
struct
T
{
void
foo
(
char
const
*
...)
__attribute__
((
format
(
printf
,
2
,
3
)));
};
template
struct
T
<
3
>;
template
<
typename
T
>
struct
U
{
typedef
T __attribute__
((
mode
(
SI
)))
V
;
};
U
<int>
::
V v
;