Commit 9c7a0edf authored by Moritz Koenig's avatar Moritz Koenig
Browse files

Added some enumTests showing our program does the right thing in bb-history (194.log->195.log)

parent 5d1cff13
enum{aa, bb, cc}; {{A}}
enum{aa, bb, cc, dd}; {{B}}
int a = cc;
/*
* check-name: Adding unused enum constatnt
* assert-ast: A == B
*/
typedef enum{aa, bb, cc} e_type; {{A}}
typedef enum{aa, bb, cc, dd} e_type; {{B}}
e_type e = cc;
/*
* check-name: Adding unused enum constatnt
* assert-ast: A != B
* obj-not-diff: yes
*/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment