diff options
author | Araq <rumpf_a@web.de> | 2014-06-30 10:40:49 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-06-30 10:40:49 +0200 |
commit | 5f8ab1653ad38faf395daf1b8a70249f6954b1ba (patch) | |
tree | ca6f87bbd6603a14e02d7a7aed47cf24b793ed6c /compiler/c2nim/tests/enum.h | |
parent | c71d7213e80419d412d6f7cacc2430f047d30d94 (diff) | |
download | Nim-5f8ab1653ad38faf395daf1b8a70249f6954b1ba.tar.gz |
c2nim is not part of the compiler anymore
Diffstat (limited to 'compiler/c2nim/tests/enum.h')
-rw-r--r-- | compiler/c2nim/tests/enum.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/compiler/c2nim/tests/enum.h b/compiler/c2nim/tests/enum.h deleted file mode 100644 index 16bc59058..000000000 --- a/compiler/c2nim/tests/enum.h +++ /dev/null @@ -1,40 +0,0 @@ - -enum vehicles -{ - car = 0x10, - truck, - boat = 0x01, - ship = 1, - speedboat = 1, - bicycle = 4, - bobycar -}; - -enum -{ - red = 4, - green = 2, - blue -}; - -typedef enum food -{ - bread = 4, - toast = 4, - bun = 0x04, - cucumber = 2, - chocolate = 6 -}; - -typedef enum numbers -{ - one = 1, - two, - nten = - 10, - nnine, - four = 4, - three = + 3, - positivenine = + 9, - nfour = - 4, - negativeten = -10 -}; \ No newline at end of file |