diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2013-09-20 01:06:43 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2013-09-20 01:06:43 +0200 |
| commit | 0f522fb32a635dafce30f3ce3ff2cb15bcec809e (patch) | |
| tree | a37a75b9ad0716b0dda99360f3ea33831868c12b /tests/tests2/05_array.expect | |
| parent | a465b7f58fdea15caa1bfb81ff5e985c94c4df4a (diff) | |
| download | tinycc-0f522fb32a635dafce30f3ce3ff2cb15bcec809e.tar.gz tinycc-0f522fb32a635dafce30f3ce3ff2cb15bcec809e.tar.bz2 | |
Forbid enum redefinition.
Prevent the following code from compiling:
enum color {RED, GREEN, BLUE};
enum color {R, G, B};
int main()
{
return R;
}
Reported-by: John Haque <j.eh@mchsi.com>
Diffstat (limited to 'tests/tests2/05_array.expect')
0 files changed, 0 insertions, 0 deletions
