[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Sema / usual-float.c
blob5a9ab344ce3604c01724c5c344a3139797ccea38
1 // RUN: %clang_cc1 %s -fsyntax-only
3 typedef float CGFloat;
5 extern void func(CGFloat);
6 void foo(int dir, int n, int tindex) {
7 const float PI = 3.142;
8 CGFloat cgf = 3.4;
10 float ang = (float) tindex * (-dir*2.0f*PI/n);
11 func((CGFloat)cgf/65535.0f);