| Index: pkg/analyzer/test/src/summary/summary_common.dart
|
| diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
|
| index 018d86d08347053af1d0df49d02942819a4b2197..1a08a05eb7620f1adb8434aa7a0346a245ce4245 100644
|
| --- a/pkg/analyzer/test/src/summary/summary_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/summary_common.dart
|
| @@ -1756,6 +1756,18 @@ var v = (() {
|
| ]);
|
| }
|
|
|
| + test_constExpr_binary_qq() {
|
| + UnlinkedVariable variable = serializeVariableText('const v = 1 ?? 2;');
|
| + _assertUnlinkedConst(variable.initializer.bodyExpr, operators: [
|
| + UnlinkedExprOperation.pushInt,
|
| + UnlinkedExprOperation.pushInt,
|
| + UnlinkedExprOperation.ifNull
|
| + ], ints: [
|
| + 1,
|
| + 2
|
| + ]);
|
| + }
|
| +
|
| test_constExpr_binary_subtract() {
|
| UnlinkedVariable variable = serializeVariableText('const v = 1 - 2;');
|
| _assertUnlinkedConst(variable.initializer.bodyExpr, operators: [
|
|
|