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
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash20.C
1
// { dg-do assemble }
2
3
template <class T = int>
4
struct A { const T x; A() : x(0) { } A(T x) : x(x) { } };
5
6
template <class B>
7
void func () { B y; y = B(); } // { dg-error "" } can't use default assignment
8
9
int main (void) { func< A<> >(); }