10
test teststruct = {0, 1, 2, 3};
12
test teststruct = {0, 1, 3};
17
std::cout << "Bug 336: wrong ordering if order advice has no match:" << std::endl;
18
std::cout << "=====================================================" << std::endl;
19
std::cout << "the result should be 031 ..." << std::endl;
21
std::cout << teststruct.field0 << teststruct.field1 << teststruct.field2 <<
22
teststruct.field3 << std::endl;
25
std::cout << teststruct.field0 << teststruct.field1 << teststruct.field3 <<
28
// but returns 013 (as if order advice was not given)
30
std::cout << "=====================================================" << std::endl;
36
advice "test" : order ("slice3", "slice2", "slice1");
40
advice "test" : slice struct {
47
advice "test" : slice struct {
54
advice "test" : slice struct {