repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Sema
/
nullptr-prec2x.c
blob
39479d4343a5699dbbbb5a0fb6f9353fe5a2f739
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