1 /* Ensure that variables declared volatile by the user (as opposed to
2 synthesized by the EH-volatization machinery) _do_ trigger
3 "discards qualifiers from target pointer type" warnings. */
5 /* { dg-options "-fobjc-exceptions" } */
6 /* { dg-do compile } */
12 extern void some_func (int *); /* { dg-line some_func_decl } */
14 @implementation TestMyTests
24 /* { dg-error "invalid conversion" "" { target *-*-* } .-1 } */
25 /* { dg-message "initializing argument" "" { target *-*-* } some_func_decl } */
39 /* { dg-error "invalid conversion" "" { target *-*-* } .-1 } */
40 /* The following is disabled as it is already checked above and the testsuites seems
41 to count multiple different identical errors on the same line only once */
42 /* dg-message "initializing argument" "" { target *-*-* } some_func_decl */
54 /* { dg-error "invalid conversion" "" { target *-*-* } .-1 } */
55 /* The following is disabled as it is already checked above and the testsuites seems
56 to count multiple different identical errors on the same line only once */
57 /* dg-message "initializing argument" "" { target *-*-* } some_func_decl */