blob: b61056573621aa8b751b0d7c2534118655cbae9c [file] [log] [blame]
/* Test nullptr_t from <stddef.h>. */
/* { dg-do compile } */
/* { dg-options "-std=c2x -pedantic-errors" } */
#include <stddef.h>
void f(nullptr_t);
_Static_assert (sizeof (nullptr_t) == sizeof (char *), "sizeof (nullptr_t)");
_Static_assert (_Alignof (nullptr_t) == _Alignof (char *), "_Alignof (nullptr_t)");