// Copyright 2014 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.
import'null_enabled_api.dart';voidmain(){dynamicerror;try{// Validate that a generated null assertion is thrown.methodThatAcceptsNonNull(null);}catch(err){error=err;}if(errorisAssertionError){print('--- TEST SUCCEEDED ---');}else{print('--- TEST FAILED ---');}}