OSDN Git Service

PR c++/54858
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / alignof1.C
1 template<typename T>
2 int my_alignof()
3 {
4     return __alignof__(T);
5 }
6
7 template<typename>
8 struct X { };
9
10 int main()
11 {
12   return my_alignof<X<void> >();
13 }