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
fix pr/45972
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
syntax-error-6.mm
blob
21423ec7eb73b7c0e624e5df92c980129eadddc2
1
/* { dg-do compile } */
2
3
@interface NSButton
4
- (int) state;
5
@end
6
7
void FOO()
8
{
9
NSButton * mCopyAcrobatCB;
10
11
[ [ mCopyAcrobatCB state ] == 0 ] != 1; /* { dg-error "objective\\-c\\+\\+" } */
12
}