view gcc/testsuite/gdc.test/fail_compilation/staticforeach3.d @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/*
TEST_OUTPUT:
---
fail_compilation/staticforeach3.d(7): Error: variable `staticforeach3.__anonymous.i` conflicts with variable `staticforeach3.__anonymous.i` at fail_compilation/staticforeach3.d(7)
---
*/
static foreach(i,i;[0]){}