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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash125.C
blob
de41b99a9278b99f4a41fc9f83f61bc7b5ce8479
1
// PR c++/64574
2
3
template<class T>
4
class TraitCheckImpl;
5
6
template<class T, class>
7
class Swappable;
8
template<class T, class=typename TraitCheckImpl<Swappable<T, void> >::Complete>
9
class Swappable;
10
11
template<class T>
12
struct TraitCheckImpl<Swappable<T> > {
13
typedef void Complete;
14
};
15
16
Swappable<int> s; // { dg-error "" }