1 /* { dg-options "-fdiagnostics-show-caret" } */
8 int test_1 (struct foo some_f
)
10 return *some_f
.x
; /* { dg-error "invalid type argument of unary ... .have .int.." } */
11 /* { dg-begin-multiline-output "" }
14 { dg-end-multiline-output "" } */
17 int test_2 (struct foo some_f
)
19 return *some_f
; /* { dg-error "invalid type argument of unary ... .have .struct foo.." } */
20 /* { dg-begin-multiline-output "" }
23 { dg-end-multiline-output "" } */