[opaque pointer type] Add textual IR support for explicit type parameter to gep operator
[oota-llvm.git] / test / CodeGen / Generic / fastcall.ll
1 ; Test fastcc works. Test from bug 2770.
2 ; RUN: llc < %s -relocation-model=pic
3
4
5 %struct.__gcov_var = type {  i32 }
6 @__gcov_var = external global %struct.__gcov_var
7
8 define fastcc void @gcov_read_words(i32 %words) {
9 entry:
10         store i32 %words, i32* getelementptr (%struct.__gcov_var, %struct.__gcov_var* 
11 @__gcov_var,
12 i32 0, i32 0)
13         ret void
14 }