repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash108.C
blob
3ffadc14c256cac39733a9a59c607e026bd69d23
1
// PR c++/50861
2
3
template<class T> struct A {A(int b=k(0));}; // { dg-error "not declared" }
4
// { dg-error "that depend on a template parameter" "" { target *-*-* } .-1 }
5
void f(int k){A<int> a;}