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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr60047.C
blob
ab73e752e95390854eca0d5a9adc286c1c0ba7cd
1
// PR c++/60047
2
// { dg-do compile { target c++11 } }
3
4
struct B { };
5
6
template<typename T> struct A : virtual B
7
{
8
A();
9
A(const A&);
10
};
11
12
template<typename T> A<T>::A(const A<T>&) = default;
13
14
A<int> a = A<int>();