diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-05-07 00:11:58 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-05-07 00:11:58 -0500 |
| commit | 62f5dc121b6b66b6e80500ce044666ae4b11d7c6 (patch) | |
| tree | bbb03e245f43e9901d3e31386e8757d9e8d847f0 /tests/include | |
| parent | d21ec6287be4882d14332c14bb302b50f1296c22 (diff) | |
| download | nimterop-62f5dc121b6b66b6e80500ce044666ae4b11d7c6.tar.gz nimterop-62f5dc121b6b66b6e80500ce044666ae4b11d7c6.zip | |
Test case for enum identifer or'd
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/test.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/include/test.h b/tests/include/test.h index eb36650..8138e54 100644 --- a/tests/include/test.h +++ b/tests/include/test.h @@ -49,7 +49,9 @@ enum ENUM { typedef enum { enum4 = 3, enum5, - enum6 + enum6, + enum6a = enum5 & enum6, + enum6b = enum5 | enum6 } ENUM2; enum { @@ -149,4 +151,4 @@ typedef struct dstruct2 { #ifdef __cplusplus } -#endif
\ No newline at end of file +#endif |
