ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
Last change
on this file since b71b6df was 4d23dd2, checked in by Thierry Delisle <tdelisle@…>, 5 years ago |
Added tests cases for some of the opened tickets
|
-
Property mode
set to
100644
|
File size:
124 bytes
|
Line | |
---|
1 | // Trac ticket
|
---|
2 | // https://cforall.uwaterloo.ca/trac/ticket/46
|
---|
3 |
|
---|
4 | enum E {
|
---|
5 | val
|
---|
6 | };
|
---|
7 |
|
---|
8 | int main() {
|
---|
9 | E x[3];
|
---|
10 | 3 ? x[2] : val;
|
---|
11 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.