// RUN: clang-format 2>&1 >/dev/null %s |FileCheck %s
-// REQUIRES: shell
}
// CHECK: diagnostic.cpp:[[@LINE-1]]:1: error: unexpected '}'
// RUN: FileCheck -input-file=%t.cpp %s
// RUN: cpp11-migrate -loop-convert -use-nullptr -risk=risky %t_risky.cpp --
// RUN: FileCheck -check-prefix=RISKY -input-file=%t_risky.cpp %s
-// REQUIRES: shell
// XFAIL: *
#define NULL 0
// RUN: cpp11-migrate -use-nullptr %t.cpp -- -I %S
// RUN: FileCheck -input-file=%t.cpp %s
// RUN: FileCheck -input-file=%T/basic.h %S/Inputs/basic.h
-// REQUIRES: shell
#include "Inputs/basic.h"
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
// RUN: cpp11-migrate -use-nullptr %t.cpp -- -I %S
// RUN: FileCheck -input-file=%t.cpp %s
-// REQUIRES: shell
// XFAIL: *
#define NULL 0
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
// RUN: cpp11-migrate %t.cpp --
// XFAIL: *
-// REQUIRES: shell
int main(int argc, char** argv) {
return 0;
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
// RUN: remove-cstr-calls . %t.cpp --
// RUN: FileCheck -input-file=%t.cpp %s
-// REQUIRES: shell
namespace std {
template<typename T> class allocator {};