xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/local5.C (revision 6fb12b7054efc6b436584db6cef9c2f85c0d7e27)
1 template <class INT>
2 class b
3 {
4 private:
5   char a(int x)
6   {
7     union {
8       int i;
9       char c;
10     } val;
11     val.i = x;
12     return val.c;
13   };
14 
15 public:
16   b()  {
17   }
18 };
19 
20 int main() {
21   b<int> n;
22   return 0;
23 }
24 
25