summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/label1.C
blob: 74572dc7d2c717c01773284cdaf42fb7a953bf84 (plain)
1
2
3
4
5
6
7
//PR c++/27820

void foo()
{
    L: L: ; // { dg-error "duplicate label" }
}