Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/obj-c++.dg/keywords-2.mm @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Test that 'encode', 'end', 'compatibility_alias', 'defs', 'protocol', 'selector', finally', 'synchronized', 'interface', 'implementation' are not keywords if not after a '@'. */ /* { dg-do compile } */ int encode (int end) { int compatibility_alias = end * 2; int defs = compatibility_alias * 2; int protocol = defs * 2; int selector = protocol * 2; int finally = selector * 2; int synchronized = finally * 2; int interface = synchronized * 2; int implementation = interface * 2; return implementation; } int main (void) { return encode (0); }