1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -ast-dump -ast-dump-filter=b_64605 %s | FileCheck %s
3 // https://github.com/llvm/llvm-project/issues/64605
5 #pragma STDC FENV_ACCESS ON
9 if ((float)0xFFFFFFFF != (float)0x100000000) {
14 int f() { return b_64605
<void>(); }
16 // CHECK: ImplicitCastExpr {{.*}} 'float' <IntegralToFloating> RoundingMath=1 AllowFEnvAccess=1
17 // CHECK-NEXT: IntegerLiteral {{.*}} 4294967295
19 // CHECK: FunctionDecl {{.*}} b_64605 'int ()'
20 // CHECK-NEXT: TemplateArgument type 'void'
22 // CHECK: ImplicitCastExpr {{.*}} 'float' <IntegralToFloating> RoundingMath=1 AllowFEnvAccess=1
23 // CHECK-NEXT: IntegerLiteral {{.*}} 4294967295