import 'dart:async';

class A {
  FutureOr<int> x;
}

Future<int> foo() async => 42;

main() {
  var a = new A();
  a.x = 33;
  a.x = null;
  a.x = foo();
}

Add missing regression test for dartbug.com/34238
[VM] Add missing regression test for dartbug.com/34238

Issue https://github.com/dart-lang/sdk/issues/34238

Change-Id: If4ee2e09cd6764dd3dd7f88dfc3d007989f68eb5
Reviewed-on: https://dart-review.googlesource.com/71245
Reviewed-by: Martin Kustermann <a35dd5b79fac84b2bb3b026a16b8becc55af5961@google.com>
Commit-Queue: Martin Kustermann <a35dd5b79fac84b2bb3b026a16b8becc55af5961@google.com>
