1f4a2713aSLionel Sambuc // RUN: %clang_cc1 -ast-dump %s | FileCheck %s 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc void foo1(void*); 4f4a2713aSLionel Sambuc void foo2(void* const); 5f4a2713aSLionel Sambuc 6f4a2713aSLionel Sambuc bar()7f4a2713aSLionel Sambucvoid bar() { 8*0a6a1f1dSLionel Sambuc // CHECK: FunctionDecl {{.*}} <line:{{.*}}, line:{{.*}}> line:{{.*}} bar 'void ()' 9f4a2713aSLionel Sambuc 10f4a2713aSLionel Sambuc foo1(0); 11f4a2713aSLionel Sambuc // CHECK: ImplicitCastExpr {{.*}} <col:{{.*}}> 'void *' <NullToPointer> 12f4a2713aSLionel Sambuc 13f4a2713aSLionel Sambuc foo2(0); 14f4a2713aSLionel Sambuc // CHECK: ImplicitCastExpr {{.*}} <col:{{.*}}> 'void *' <NullToPointer> 15f4a2713aSLionel Sambuc } 16