PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / offsetof1.C
blobae9d3110aba67c5dc0bdd5fb8dc66e6659decba6
1 #include <stddef.h>
3 template <bool> struct StaticAssert;
4 template <> struct StaticAssert<true> {};
6 struct MyPOD
8   int a; int b; int c; 
9 };
11 StaticAssert<(offsetof(MyPOD, a) == 0)> s;