summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/alignof.C
blob: 8e8f715cdf3daa3bac5050cf3b015d6f54e73c2c (plain)
1
2
3
4
5
// { dg-options "-std=c++0x" }
int main(void)
{
  static_assert(alignof(int) == __alignof(int), "alignof(int) does not equal __alignof(int)");
}