Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 -ast-dump %s | FileCheck %s
      2 
      3 void variadic(int, ...);
      4 
      5 void test_floating_promotion(__fp16 *f16, float f32, double f64) {
      6   variadic(3, *f16, f32, f64);
      7 
      8 // CHECK: ImplicitCastExpr {{.*}} 'double' <FloatingCast>
      9 // CHECK-NEXT: '__fp16'
     10 
     11 // CHECK: ImplicitCastExpr {{.*}} 'double' <FloatingCast>
     12 // CHECK-NEXT: 'float'
     13 }
     14