blob: 81e9e6d04b314c67aa0e8946b7819547c6f274d9 [file] [log] [blame]
// 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);
}