repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-local-typedefs-4.C
blob
7efe1125477ec5dc9997c3aafb2236466174c42f
1
// PR c++/60063
2
// { dg-options -Wunused-local-typedefs }
3
4
template <class> struct S;
5
6
void foo (int i) {
7
typedef __attribute__ ((used)) S<int> X;
8
}
9
10
template <class T>
11
void bar (T i) {
12
typedef __attribute__ ((used)) S<T> Y;
13
}