[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / SemaCXX / format-strings-0x-nopedantic.cpp
blob62e7adef44bc559649294569974d8e8dd4bb38ee
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, ...);
8 void f(char *c) {
9 printf("%p", c);