Add: struct fields to the test of issue 256
This commit is contained in:
parent
ac61efe767
commit
1024f16715
|
@ -1,4 +1,6 @@
|
||||||
void foo()
|
void foo()
|
||||||
{
|
{
|
||||||
S s = {a: 3};
|
S s1 = {a: 3};
|
||||||
|
S s2 = {a: 3, b : "test string"};
|
||||||
|
S s3 = {a: 3, b : "test string", c : {x: 3.14, y : 3 + 4}};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
void foo()
|
void foo()
|
||||||
{
|
{
|
||||||
S s = { a: 3 };
|
S s1 = { a: 3 };
|
||||||
|
S s2 = { a: 3, b:"test string" };
|
||||||
|
S s3 = { a: 3, b:"test string", c: {x: 3.14, y: 3 + 4} };
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
void foo() {
|
void foo() {
|
||||||
S s = {a: 3};
|
S s1 = {a: 3};
|
||||||
|
S s2 = {a: 3, b : "test string"};
|
||||||
|
S s3 = {a: 3, b : "test string", c : {x: 3.14, y : 3 + 4}};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue