summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-02-07-AddrLabel.c
blob: 03ed4c987e440b85eba1fabc56d4067b148ed78a (plain)
1
2
3
4
5
6
7
8
9
10
// PR947
// RUN: %llvmgcc %s -S -o - 

void foo() {
    void *ptr;
  label:
    ptr = &&label;

    goto *ptr;
  }