xref: /aosp_15_r20/external/skia/resources/sksl/errors/UsingInvalidValue.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1int func() { return 1; }
2
3void expect_constructor_invocation()                   { int x = int; }
4void expect_constructor_invocation_extra_initializer() { int x, y = int; }
5void expect_function_call()                            { int x = func; }
6void expect_function_call_extra_initializer()          { int x, y = func; }
7
8int  g_expect_constructor_invocation                       = int;
9int  g_expect_constructor_invocation_extra_initializer, ix = int;
10int  g_expect_function_call                                = func;
11int  g_expect_function_call_extra_initializer,          iy = func;
12
13/*%%*
14expected '(' to begin constructor invocation
15expected '(' to begin constructor invocation
16expected '(' to begin function call
17expected '(' to begin function call
18expected '(' to begin constructor invocation
19expected '(' to begin constructor invocation
20expected '(' to begin function call
21expected '(' to begin function call
22*%%*/
23