OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [property/] [dotsyntax-22.m] - Blame information for rev 704

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* 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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.