代码搜索:LABEL
找到约 10,000 项符合「LABEL」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2865993
c label4.c
// PR c++/20563: ICE (--enable-checking), infinite loop (--disable-checking)
// Origin: Giovanni Bajo
// { dg-do compile }
__label__ *l; // { dg-error "not at the beg
www.eeworm.com/read/366702/2866006
c label6.c
// PR c++/32108
__label__ L; // { dg-error "not at the beginning" }
www.eeworm.com/read/366702/2866033
c label8.c
// PR c++/32121
// { dg-do compile }
int f (void)
{
__label__ a, b;
__label__ c;
a:;
b:;
c:;
{
__label__ d;
d:;
if (0)
{
__label__ e;
__label__ f;
f:;
e:;
}
www.eeworm.com/read/366702/2866048
c label2.c
// { dg-options "" }
template
void f() {
l:
void *p[] = { &&l };
goto *p;
}
template void f();
www.eeworm.com/read/366702/2866157
c label7.c
// PR c++/32121
// { dg-do compile }
int f (void)
{
a:;
__label__ a; // { dg-error "not at the beginning" }
int b;
__label__ c; // { dg-error "not at the beginning" }
a:; // { dg-error "du
www.eeworm.com/read/366702/2866212
c label1.c
// { dg-options "" }
int main(void) {
static const void* lbls[2][2] = {{&&lbl0, &&lbl0}, {&&lbl0, &&lbl0}};
goto *lbls[0];
lbl0:
;
}
www.eeworm.com/read/366702/2866292
c label9.c
// PR c++/32121
// { dg-do compile }
int f (void)
{
while (1)
__label__ a; // { dg-error "not at the beginning" }
for (;;)
__label__ b; // { dg-error "not at the beginning" }
}
www.eeworm.com/read/366702/2866318
c label10.c
// PR c++/33836
// { dg-do compile }
// { dg-options "-std=gnu++98" }
template struct A
{
enum { M = && N }; // { dg-error "referenced outside|cannot appear in" }
};
A a;
void foo ()
{
www.eeworm.com/read/366702/2866336
c label3.c
// Bug: we were removing the p = q assignment in dce, and then reinserting
// it *after* the try/catch in out-of-ssa. Oops.
// testcase reduced from libjava/interpret.cc.
// { dg-do run }
// { dg-o
www.eeworm.com/read/366702/2866355
c label5.c
// { dg-options "" }
// PR c++/24052
struct A { };
int main() { b: A() && && b; } // { dg-error "A\\(\\) && && *b" }
// { dg-error "candidate" "additional" { target *-*-* } 5 }