Optimize exact sdiv by a constant power of 2 to ashr.
[oota-llvm.git] / test / FrontendC / implicit-arg.c
1 // RUN: %llvmgcc %s -S -emit-llvm -O0 -o -
2 // RUN: %llvmgcc %s -S -emit-llvm -O1 -o -
3 // rdar://6518089
4
5 static int bar();
6 void foo() {
7   int a = bar();
8 }
9 int bar(unsigned a) {
10 }