Merged r158704 through r158906 into branch.
[official-gcc.git] / gcc / testsuite / g++.dg / template / enum4.C
blob97e0b848d47b68f7e6ac220b776e248f6aead224
1 // PR c++/18020
3 template <typename> struct bar {
4   enum {
5     e1 = 1,
6     e2 = ~e1
7   };
8 };
9 template struct bar<int>;