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