summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/di.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/di.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/unsorted/di.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/di.c b/gcc/testsuite/gcc.c-torture/unsorted/di.c
new file mode 100644
index 000000000..476bf700f
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/unsorted/di.c
@@ -0,0 +1,12 @@
+long long
+foo (a, b)
+ long long a, b;
+{
+ return a * b;
+}
+
+main ()
+{
+ int a = foo ((long long) 2, (long long) 3);
+ printf ("%d\n", a);
+}