Commit d00ff2ed authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

widl: Make structs containing user types bogus; fix square_test_us test failure.

parent e0b20981
......@@ -698,7 +698,7 @@ pointer_tests(void)
ok(test_list_length(list) == 3, "RPC test_list_length\n");
ok(square_puint(p1) == 121, "RPC square_puint\n");
todo_wine ok(square_test_us(&tus) == 121, "RPC square_test_us\n");
ok(square_test_us(&tus) == 121, "RPC square_test_us\n");
pa[0] = &a[0];
pa[1] = &a[1];
......
......@@ -1740,6 +1740,9 @@ static int get_struct_type(var_list_t *fields)
{
type_t *t = field->type;
if (is_user_type(t))
return RPC_FC_BOGUS_STRUCT;
if (is_ptr(t))
{
do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment