summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp')
-rw-r--r--clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp b/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp
deleted file mode 100644
index a98d1e2fb0d..00000000000
--- a/clang-tools-extra/test/cpp11-migrate/Core/Reformatting.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
-// RUN: not cpp11-migrate -format-style=non_existent_file.yaml -use-auto %t.cpp -- -std=c++11
-// RUN: touch %T/non_format_config.yaml
-// RUN: not cpp11-migrate -format-style=%T/non_format_config.yaml -use-auto %t.cpp -- -std=c++11
-// RUN: cpp11-migrate -format-style=LLVM -use-auto %t.cpp -- -std=c++11
-// RUN: FileCheck --strict-whitespace -input-file=%t.cpp %s
-
-class MyType012345678901234567890123456789 {};
-
-int f() {
- MyType012345678901234567890123456789 *a =
- new MyType012345678901234567890123456789();
- // CHECK: {{^\ \ auto\ a\ \=\ new\ MyType012345678901234567890123456789\(\);}}
-
- delete a;
-}
OpenPOWER on IntegriCloud