| 1 |
// RUN: %clang_cc1 -fsyntax-only -verify -std=c17 -ffreestanding -Wc2x-compat %s |
| 2 |
|
| 3 |
#include <stddef.h> |
| 4 |
|
| 5 |
int nullptr; // expected-warning {{'nullptr' is a keyword in C23}} |
| 6 |
|
| 7 |
nullptr_t val; // expected-error {{unknown type name 'nullptr_t'}} |
| 8 |
|