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
testsuite: XFAIL gfortran.dg/initialization_25.f90 properly (again)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr65936.C
blob
afa227686d1d26468cce4c05ff6f3ec96816a8d6
1
// checking ICE in canonical typing
2
3
class A;
4
5
template <typename> struct B
6
{
7
typedef A type;
8
};
9
10
template <class T> class C
11
: public B<T>::type
12
{
13
} __attribute__ ((__may_alias__));
14
15
class A
16
{
17
operator const C<int> &()
18
{
19
return *static_cast<const C<int> *> (this);
20
}
21
};