Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / nullptr-prec2x.c
blob39479d4343a5699dbbbb5a0fb6f9353fe5a2f739
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c17 -ffreestanding -Wc2x-compat %s
3 #include <stddef.h>
5 int nullptr; // expected-warning {{'nullptr' is a keyword in C23}}
7 nullptr_t val; // expected-error {{unknown type name 'nullptr_t'}}