diff --git a/test/CFrontend/2004-02-20-StaticRedeclare.c.tr b/test/CFrontend/2004-02-20-StaticRedeclare.c.tr new file mode 100644 index 00000000000..4549300e7bc --- /dev/null +++ b/test/CFrontend/2004-02-20-StaticRedeclare.c.tr @@ -0,0 +1,9 @@ +// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep declare + +int one (int a) { + two (a, 5); + return 0; +} + +static int two (int a, int b) { +}