repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
middle-end: also optimized `popcount(a) <= 1` [PR90693]
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
pr23709.mm
blob
7936956854f9f27cfa3d80fc5f975c8e178d7c7b
1
/* { dg-do compile } */
2
// { dg-additional-options "-Wno-objc-root-class" }
3
4
@interface A
5
+(void)method: (int)parameter {} /* { dg-error "expected" } */
6
@end
7
8
@implementation A
9
+(void)method: (int)parameter
10
{
11
*parameter; /* { dg-error "invalid type argument" } */
12
}
13
@end