Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
llvm-project
/
clang
/
test
/
SemaCXX
/
format-strings-0x-nopedantic.cpp
blob: 62e7adef44bc559649294569974d8e8dd4bb38ee [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -Wformat -std=c++11 %s
// expected-no-diagnostics
extern
"C"
{
extern
int
scanf
(
const
char
*
restrict
,
...);
extern
int
printf
(
const
char
*
restrict
,
...);
}
void
f
(
char
*
c
)
{
printf
(
"%p"
,
c
);
}