OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/template/spec10.C: Set exit value to zero on success. Fix
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash11.C
1
// { dg-do compile }
2
3
// Origin: kparz@iastate.edu
4
5
// PR c++/7939: ICE for invalid function parameter after template
6
// substitution.
7
8
template <class T, class U> void foo(T, U) {}
9
template <class T> void foo<T,void>(T, void) {} // { dg-error "incomplete|invalid|partial" }