Support multiple lock attributes of the same kind on a declaration.
[official-gcc.git] / gcc / testsuite / g++.dg / template / typedef14.C
blobcaa565a08cd0154a36eb9964c59b263e62089591
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/26693
3 // { dg-do compile }
5 template <class T>
6 struct A
8   typedef int mytype;
10   void
11   foo ()
12   {
13     mytype v = ~static_cast<mytype> (0);
14   }