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
2013-10-29 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
property
/
dotsyntax-22.mm
blob
cc583482263b1131b1e500888cbaccd6ddf34c07
1
/* PR objc/47784. This testcase used to crash the compiler. */
2
3
typedef struct {
4
float x;
5
} SomeType;
6
7
@interface MyClass
8
9
@property(assign,readwrite) SomeType position;
10
11
@end
12
13
void example (MyClass *x)
14
{
15
const SomeType SomeTypeZero = {0.0f};
16
17
x.position= SomeTypeZero;
18
}
19