☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef14.C
☽
☼
gcc/testsuite/g++.dg/template/typedef14.C
code
plain
raw
1
// Contributed by Dodji Seketeli <
[email protected]
>
2
// Origin: PR c++/26693
3
// { dg-do compile }
4
5
template <class T>
6
struct A
7
{
8
typedef int mytype;
9
10
void
11
foo ()
12
{
13
mytype v = ~static_cast<mytype> (0);
14
}
15
};
16