blob: caa565a08cd0154a36eb9964c59b263e62089591 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR c++/26693
// { dg-do compile }
template <class T>
struct A
{
typedef int mytype;
void
foo ()
{
mytype v = ~static_cast<mytype> (0);
}
};
|