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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb82.C
blob
9bf0398cd0a2b92c9bcca6cb4708d3f1a170fbd8
1
// { dg-do assemble }
2
#include <stdio.h>
3
4
template <int n1>
5
double val <int> () // { dg-error "" } bogus code
6
{
7
return (double) n1;
8
}
9
10
int main ()
11
{
12
printf ("%d\n", val<(int)3> ()); // { dg-error "" } val undeclared
13
}