summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2004-01-08-ExternInlineRedefine.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/2004-01-08-ExternInlineRedefine.c')
-rw-r--r--clang/test/CodeGen/2004-01-08-ExternInlineRedefine.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2004-01-08-ExternInlineRedefine.c b/clang/test/CodeGen/2004-01-08-ExternInlineRedefine.c
new file mode 100644
index 0000000..358a9c2
--- /dev/null
+++ b/clang/test/CodeGen/2004-01-08-ExternInlineRedefine.c
@@ -0,0 +1,14 @@
+// RUN: %clang_cc1 -std=gnu89 -emit-llvm %s -o /dev/null
+
+
+extern __inline long int
+__strtol_l (int a)
+{
+ return 0;
+}
+
+long int
+__strtol_l (int a)
+{
+ return 0;
+}