1 /* Test nullptr_t from <stddef.h>. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2x -pedantic-errors" } */
4
5 #include <stddef.h>
6
7 void f(nullptr_t);
8 _Static_assert (sizeof (nullptr_t) == sizeof (char *), "sizeof (nullptr_t)");
9 _Static_assert (_Alignof (nullptr_t) == _Alignof (char *), "_Alignof (nullptr_t)");