[LLVM][NVPTX] Add support for griddepcontrol instruction (#123511)
[llvm-project.git] / compiler-rt / test / sanitizer_common / TestCases / Linux / unexpected_format_specifier_test.cpp
blobfdce916ad1e1a96f3c84bcada5b8b56b42ba5755
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);
13 // CHECK: unexpected format specifier in printf interceptor: %Q (reported once per process)
14 // CHECK-NOT: unexpected format specifier in printf interceptor