use v6;
use lib <t/spec/packages>;
use Test;
use Test::Util;

plan 1;

# RT#123887
{
    is_run q[say $\\], { :256status, err => /'Confused'/ },
        'spurious backslash at end of file error must ask for semicolon';
}

use v6;
use lib <t/spec/packages>;
use Test;
use Test::Util;

plan 1;

# RT#123887
{
    is_run q[say $\\], { :1status, err => /'Confused'/ },
        'spurious backslash at end of file error must ask for semicolon';
}

Fix incorrect exit code in test
Fix incorrect exit code in test

This was probably wrong for a while, since the test was never added
to spectest.data when it was created.
