/* REQUIRED_ARGS: -betterC
TEST_OUTPUT:
---
fail_compilation/test21477.d(103): Error: expression `[1]` uses the GC and cannot be used with switch `-betterC`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=21477
#line 100
int test()
{
    int[] foo = [1];
    return 0;
}