Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
template12.C
blob: 686db48f50a5370e9f5b23e7bc5838cfd4e6d891 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed templates
inline
void
foo
(
const
int
&
x
)
{}
template
<
class
type
>
inline
void
foo
(
const
type
&
x
)
{
x
.
eat_this_and_die
();}
int
main
(
int
argc
,
char
**
argv
)
{
foo
(
argc
);}