summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/implicit-cast-dump.c
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2018-11-30 18:43:02 +0000
committerAaron Ballman <aaron@aaronballman.com>2018-11-30 18:43:02 +0000
commit4b5b0c0025c3238f7a8894ba1ac28b6f2394286a (patch)
treec4c2609ea00629f3aff56d9c8df6c9d945957a4d /clang/test/Sema/implicit-cast-dump.c
parent1901a12e765f2404b5908ab8004c5ceefa79db1f (diff)
downloadbcm5719-llvm-4b5b0c0025c3238f7a8894ba1ac28b6f2394286a.tar.gz
bcm5719-llvm-4b5b0c0025c3238f7a8894ba1ac28b6f2394286a.zip
Move AST tests into their own test directory; NFC.
This moves everything primarily testing the functionality of -ast-dump and -ast-print into their own directory, rather than leaving the tests spread around the testing directory. llvm-svn: 348017
Diffstat (limited to 'clang/test/Sema/implicit-cast-dump.c')
-rw-r--r--clang/test/Sema/implicit-cast-dump.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/clang/test/Sema/implicit-cast-dump.c b/clang/test/Sema/implicit-cast-dump.c
deleted file mode 100644
index 4cd855fb1d4..00000000000
--- a/clang/test/Sema/implicit-cast-dump.c
+++ /dev/null
@@ -1,15 +0,0 @@
-// RUN: %clang_cc1 -ast-dump %s | FileCheck %s
-
-void foo1(void*);
-void foo2(void* const);
-
-
-void bar() {
- // CHECK: FunctionDecl {{.*}} <line:{{.*}}, line:{{.*}}> line:{{.*}} bar 'void ()'
-
- foo1(0);
- // CHECK: ImplicitCastExpr {{.*}} <col:{{.*}}> 'void *' <NullToPointer>
-
- foo2(0);
- // CHECK: ImplicitCastExpr {{.*}} <col:{{.*}}> 'void *' <NullToPointer>
-}
OpenPOWER on IntegriCloud