summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/type.C
blob: 3c36c47ad7ad4f6ed738b3c5b29bc27452fd9e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }

typedef unsigned short ushort;
class foo {
public:
  static ushort a;
};
extern "C" {
typedef unsigned short ushort;
}
ushort foo::a;
static int baz()
{
  return foo::a;
}