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
[LLVM][NVPTX] Add support for griddepcontrol instruction (#123511)
[llvm-project.git]
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Linux
/
unexpected_format_specifier_test.cpp
blob
fdce916ad1e1a96f3c84bcada5b8b56b42ba5755
1
// RUN: %clang -w -O0 %s -o %t && %run %t 2>&1 | FileCheck %s
2
// UNSUPPORTED: hwasan
3
// UNSUPPORTED: lsan
4
// UNSUPPORTED: msan
5
// UNSUPPORTED: ubsan
6
#include <stdio.h>
7
int
main
() {
8
int
a
;
9
printf
(
"%Q
\n
"
,
1
);
10
printf
(
"%Q
\n
"
,
1
);
11
printf
(
"%Q
\n
"
,
1
);
12
}
13
// CHECK: unexpected format specifier in printf interceptor: %Q (reported once per process)
14
// CHECK-NOT: unexpected format specifier in printf interceptor