aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/CBackend/2005-08-23-Fmod.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2005-08-23-Fmod.ll b/test/CodeGen/CBackend/2005-08-23-Fmod.ll
new file mode 100644
index 0000000000..20f05b651b
--- /dev/null
+++ b/test/CodeGen/CBackend/2005-08-23-Fmod.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=c | grep fmod
+
+double %test(double %A, double %B) {
+ %C = rem double %A, %B
+ ret double %C
+}