aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/nullptr-align.C
blob: 7de365a4408a9b96c4132edffa2b01020fd5dc96 (plain)
1
2
3
4
5
// PR c++/65945
// { dg-do compile { target c++11 } }
// { dg-options "-fabi-version=9" }

static_assert(alignof (decltype (nullptr)) == alignof (void *), "");