Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-local-typedefs-4.C
blob: 7efe1125477ec5dc9997c3aafb2236466174c42f [
file
] [
log
] [
blame
]
// PR c++/60063
// { dg-options -Wunused-local-typedefs }
template
<class>
struct
S
;
void
foo
(
int
i
)
{
typedef
__attribute__
((
used
))
S
<int>
X
;
}
template
<
class
T
>
void
bar
(
T i
)
{
typedef
__attribute__
((
used
))
S
<
T
>
Y
;
}