aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/usual-float.c
blob: 81e9e6d04b314c67aa0e8946b7819547c6f274d9 (plain)
1
2
3
4
5
6
// RUN: clang %s -fsyntax-only

void foo(int dir, int n, int tindex) {
  const float PI = 3.142;
float ang = (float) tindex * (-dir*2.0f*PI/n);
}