summaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2007-02-07-AddrLabel.c
blob: 144f62d0992b9eff662603e25fd2d27da57e6b6c (plain)
1
2
3
4
5
6
7
8
9
10
// PR947
// RUN: %llvmgcc %s -c -o - 

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

    goto *ptr;
  }