middle-end: also optimized `popcount(a) <= 1` [PR90693]
[official-gcc.git] / gcc / testsuite / obj-c++.dg / pr23709.mm
blob7936956854f9f27cfa3d80fc5f975c8e178d7c7b
1 /* { dg-do compile } */
2 // { dg-additional-options "-Wno-objc-root-class" }
4 @interface A
5 +(void)method: (int)parameter {} /* { dg-error "expected" } */
6 @end 
8 @implementation A
9 +(void)method: (int)parameter
11   *parameter; /* { dg-error "invalid type argument" } */
13 @end