summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/negative_value.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/negative_value.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/negative_value.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/negative_value.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/negative_value.c
new file mode 100644
index 00000000..6399fbef
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/negative_value.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+int main(void) {
+ int i = -1;
+ int j = 30 * -1;
+
+ int frames = 127;
+ frames = ((frames + 15) & -16);
+ return 0;
+} \ No newline at end of file