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 } */
7 // { dg-additional-options "-Wno-objc-root-class" }
13 extern void some_func (int *); /* { dg-line some_func_decl } */
15 @implementation TestMyTests
25 /* { dg-error "invalid conversion" "" { target *-*-* } .-1 } */
26 /* { dg-message "initializing argument" "" { target *-*-* } some_func_decl } */
40 /* { dg-error "invalid conversion" "" { target *-*-* } .-1 } */
41 /* The following is disabled as it is already checked above and the testsuites seems
42 to count multiple different identical errors on the same line only once */
43 /* dg-message "initializing argument" "" { target *-*-* } some_func_decl */
55 /* { dg-error "invalid conversion" "" { target *-*-* } .-1 } */
56 /* The following is disabled as it is already checked above and the testsuites seems
57 to count multiple different identical errors on the same line only once */
58 /* dg-message "initializing argument" "" { target *-*-* } some_func_decl */