diff options
author | Jack Palevich <jackpal@google.com> | 2009-07-29 10:28:18 -0700 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2009-07-29 10:28:18 -0700 |
commit | ddf7c9c14184acffe5ac33d06389cf733cfe11da (patch) | |
tree | b60fb8d0f963df5166a6fdb7f97e35715afc5cec /libacc/tests/data | |
parent | 7fcdf1c5f8f25228bf348be9360594679329616f (diff) | |
download | system_core-ddf7c9c14184acffe5ac33d06389cf733cfe11da.zip system_core-ddf7c9c14184acffe5ac33d06389cf733cfe11da.tar.gz system_core-ddf7c9c14184acffe5ac33d06389cf733cfe11da.tar.bz2 |
Implement inc/dec in a more lval-friendly way.
Diffstat (limited to 'libacc/tests/data')
-rw-r--r-- | libacc/tests/data/inc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libacc/tests/data/inc.c b/libacc/tests/data/inc.c new file mode 100644 index 0000000..eda3659 --- /dev/null +++ b/libacc/tests/data/inc.c @@ -0,0 +1,10 @@ +// Check integer operations + +int main() { + int a = 0; + printf("%d\n", a++); + printf("%d\n", a++); + printf("%d\n", a--); + printf("%d\n", a--); + return a; +} |