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
testsuite: XFAIL gfortran.dg/initialization_25.f90 properly
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg13.C
blob
83539f50c489ec436141ccb1f2f423d640f5613c
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
template <class T>
5
void f (int i)
6
{
7
struct S { void g (int j = i) {} }; // { dg-error "" } default argument uses local
8
9
S s;
10
}
11
12
template void f<double>(int);
13