Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}