| Index: test/codegen/temps.dart
|
| diff --git a/test/codegen/temps.dart b/test/codegen/temps.dart
|
| index 833874c44a4e138c630013e7894378fdb48af3af..cb63c0a6cf3b914cd538afad949df0fa28cc402a 100644
|
| --- a/test/codegen/temps.dart
|
| +++ b/test/codegen/temps.dart
|
| @@ -10,6 +10,14 @@ class FormalCollision {
|
| FormalCollision(this._x, this.__x, this._function);
|
| }
|
|
|
| +class OptionalArg {
|
| + int _opt;
|
| + OptionalArg([this._opt = 123]);
|
| + OptionalArg.named({this._opt: 456});
|
| +}
|
| +
|
| main() {
|
| print(new FormalCollision(1, 2, (x) => x));
|
| + print(new OptionalArg()._opt);
|
| + print(new OptionalArg.named()._opt);
|
| }
|
|
|