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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
template12.C
blob
686db48f50a5370e9f5b23e7bc5838cfd4e6d891
1
// { dg-do assemble }
2
// GROUPS passed templates
3
inline void foo (const int &x) {}
4
5
template <class type>
6
inline void foo (const type &x) {x.eat_this_and_die();}
7
8
int main (int argc, char **argv) {foo (argc);}