aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test_identifiers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_identifiers.sh')
-rw-r--r--tests/test_identifiers.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_identifiers.sh b/tests/test_identifiers.sh
new file mode 100644
index 0000000..5786ff7
--- /dev/null
+++ b/tests/test_identifiers.sh
@@ -0,0 +1,16 @@
+cat <<'EOF' > expected
+42,123
+EOF
+test_diff <<'EOF'
+int printf();
+
+int main() {
+ int _a = 42;
+ int _b = 123;
+
+ printf("%d,%d\n", _a, _b);
+
+ return 0;
+}
+EOF
+