Files
clang-p2996/clang/test/Sema/implicit-cast-dump.c
Rafael Espindola 4588a1a205 Unqualify the parameter type.
This fixes a regression from 168895.

llvm-svn: 171519
2013-01-04 20:34:32 +00:00

16 lines
356 B
C

// RUN: %clang_cc1 -ast-dump %s | FileCheck %s
void foo1(void*);
void foo2(void* const);
void bar() {
// CHECK: (FunctionDecl {{.*}} <line:{{.*}}, line:{{.*}}> bar 'void ()'
foo1(0);
// CHECK: (ImplicitCastExpr {{.*}} <col:{{.*}}> 'void *' <NullToPointer>
foo2(0);
// CHECK: (ImplicitCastExpr {{.*}} <col:{{.*}}> 'void *' <NullToPointer>
}