URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [keywords-1.m] - Rev 764
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test that 'in', 'out', 'inout', 'bycopy', 'byref', 'oneway' are not keywords outside of a "protocol qualifier" context. */ /* { dg-do compile } */ typedef int in; in out (in inout) { int byref = inout * 2; return byref + inout; } @class byref; @interface inout @end @protocol oneway; int main (void) { in bycopy = (in)(out (0)); return (in)bycopy; }
Go to most recent revision | Compare with Previous | Blame | View Log