1 // PR c++/18020 2 3 template <typename> struct bar { 4 enum { 5 e1 = 1, 6 e2 = ~e1 7 }; 8 }; 9 template struct bar<int>; 10