aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/embedFile_with_bogus_file.zig
blob: 956ea31f07b0d1ea9fa936323388a506107e49f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
const resource = @embedFile("bogus.txt");

export fn entry() usize {
    return @sizeOf(@TypeOf(resource));
}

// error
// backend=stage2
// target=native
//
// :1:29: error: unable to open 'bogus.txt': FileNotFound