gcc.target/cris/pr93372-3.c, -4.c...-35.c: New tests.
[gcc.git] / gcc / testsuite / objc.dg / keywords-2.m
1 /* Test that 'encode', 'end', 'compatibility_alias', 'defs',
2 'protocol', 'selector', finally', 'synchronized', 'interface',
3 'implementation' are not keywords if not after a '@'.
4 */
5 /* { dg-do compile } */
6
7 int encode (int end)
8 {
9 int compatibility_alias = end * 2;
10 int defs = compatibility_alias * 2;
11 int protocol = defs * 2;
12 int selector = protocol * 2;
13 int finally = selector * 2;
14 int synchronized = finally * 2;
15 int interface = synchronized * 2;
16 int implementation = interface * 2;
17
18 return implementation;
19 }
20
21 int main (void)
22 {
23 return encode (0);
24 }