Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb82.C
blob: 9bf0398cd0a2b92c9bcca6cb4708d3f1a170fbd8 [
file
] [
log
] [
blame
]
// { dg-do assemble }
#include
<stdio.h>
template
<
int
n1
>
double
val
<int>
()
// { dg-error "" } bogus code
{
return
(
double
)
n1
;
}
int
main
()
{
printf
(
"%d\n"
,
val
<(
int
)
3
>
());
// { dg-error "" } val undeclared
}