diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/diag9831.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/diag9831.d | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/diag9831.d b/gcc/testsuite/gdc.test/fail_compilation/diag9831.d index 8882f66efc8..b990ced0522 100644 --- a/gcc/testsuite/gdc.test/fail_compilation/diag9831.d +++ b/gcc/testsuite/gdc.test/fail_compilation/diag9831.d @@ -1,7 +1,8 @@ /* TEST_OUTPUT: --- -fail_compilation/diag9831.d(12): Error: function diag9831.main.__lambda1 cannot access frame of function D main +fail_compilation/diag9831.d(13): Error: function `diag9831.main.__lambda3` cannot access variable `c` in frame of function `D main` +fail_compilation/diag9831.d(11): `c` declared here --- */ |