mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-28 06:27:02 +00:00
28 lines
422 B
Plaintext
28 lines
422 B
Plaintext
// Expected output: 256
|
|
|
|
/*
|
|
|
|
START_EXPECTED
|
|
Error on line 10778 of file [unknown]
|
|
SyntaxError:
|
|
int myIvar;
|
|
^
|
|
ERROR line 12 in file:[__PATH__]: Instance variable 'myIvar' is already declared for class MySubclass in superclass MySuperclass
|
|
END_EXPECTED
|
|
*/
|
|
|
|
@import <Foundation/Foundation.j>
|
|
|
|
@implementation MySuperclass : CPObject
|
|
{
|
|
int myIvar;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation MySubclass : MySuperclass
|
|
{
|
|
int myIvar;
|
|
}
|
|
|
|
@end |