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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
format-strings-0x-nopedantic.cpp
blob
62e7adef44bc559649294569974d8e8dd4bb38ee
1
// RUN: %clang_cc1 -fsyntax-only -verify -Wformat -std=c++11 %s
2
// expected-no-diagnostics
3
extern
"C"
{
4
extern
int
scanf
(
const char
*
restrict
, ...);
5
extern
int
printf
(
const char
*
restrict
, ...);
6
}
7
8
void
f
(
char
*
c
) {
9
printf
(
"%p"
,
c
);
10
}