Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"
[oota-llvm.git] / test / FrontendC / 2007-02-07-AddrLabel.c
1 // PR947
2 // RUN: %llvmgcc %s -S -o - 
3
4 void foo() {
5     void *ptr;
6   label:
7     ptr = &&label;
8
9     goto *ptr;
10   }