@@ -59,9 +59,15 @@ test.with_default_valued_properties 1 "foo" 0 unit
5959// CHECK: test.with_optional_properties
6060// CHECK-SAME: simple = 0
6161// GENERIC: "test.with_optional_properties"()
62- // GENERIC-SAME: <{hasDefault = [], hasUnit = false, longSyntax = [], maybeUnit = [], nested = [], nonTrivialStorage = [], simple = [0]}> : () -> ()
62+ // GENERIC-SAME: <{hasDefault = [], hasUnit = false, longSyntax = [], maybeUnit = [], nested = [], nonTrivialStorage = [], simple = [0], simplei8 = [], simpleui8 = [] }> : () -> ()
6363test.with_optional_properties simple = 0
6464
65+ // CHECK: test.with_optional_properties
66+ // CHECK-SAME: simple = 1 simplei8 = -1 simpleui8 = 255
67+ // GENERIC: "test.with_optional_properties"()
68+ // GENERIC-SAME: <{hasDefault = [], hasUnit = false, longSyntax = [], maybeUnit = [], nested = [], nonTrivialStorage = [], simple = [1], simplei8 = [-1 : i8], simpleui8 = [-1 : i8]}> : () -> ()
69+ test.with_optional_properties simple = 1 simplei8 = -1 simpleui8 = 255
70+
6571// CHECK: test.with_optional_properties{{$}}
6672// GENERIC: "test.with_optional_properties"()
6773// GENERIC-SAME: simple = []
@@ -70,7 +76,7 @@ test.with_optional_properties
7076// CHECK: test.with_optional_properties
7177// CHECK-SAME: anAttr = 0 simple = 1 nonTrivialStorage = "foo" hasDefault = some<0> nested = some<1> longSyntax = some<"bar"> hasUnit maybeUnit = some<unit>
7278// GENERIC: "test.with_optional_properties"()
73- // GENERIC-SAME: <{anAttr = 0 : i32, hasDefault = [0], hasUnit, longSyntax = ["bar"], maybeUnit = [unit], nested = {{\[}}[1]], nonTrivialStorage = ["foo"], simple = [1]}> : () -> ()
79+ // GENERIC-SAME: <{anAttr = 0 : i32, hasDefault = [0], hasUnit, longSyntax = ["bar"], maybeUnit = [unit], nested = {{\[}}[1]], nonTrivialStorage = ["foo"], simple = [1], simplei8 = [], simpleui8 = [] }> : () -> ()
7480test.with_optional_properties
7581 anAttr = 0
7682 simple = 1
0 commit comments