blob: 24644980f4eecbf7b814d1f8c25a87114415aa9a [file] [log] [blame]
// Errors:
//
// pkg/front_end/testcases/inference/infer_variable_void.dart:9:55: Error: This expression has type 'void' and can't be used.
// var /*@topType=void*/ x = /*info:USE_OF_VOID_RESULT*/ f();
// ^
library test;
import self as self;
static field void x = self::f();
static method f() void {}
static method main() dynamic {
self::x;
}