mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
18 lines
355 B
OpenEdge ABL
18 lines
355 B
OpenEdge ABL
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/compgoto.i(105): Error: unary `&&` computed goto extension is not supported
|
|
fail_compilation/compgoto.i(106): Error: `goto *` computed goto extension is not supported
|
|
---
|
|
*/
|
|
|
|
// https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html
|
|
|
|
#line 100
|
|
|
|
void test()
|
|
{
|
|
void *ptr;
|
|
foo:
|
|
ptr = &&foo;
|
|
goto *ptr;
|
|
}
|