diff options
-rw-r--r-- | test/CFrontend/2004-02-20-StaticRedeclare.c.tr | 9 |
1 files changed, 9 insertions, 0 deletions
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 0000000..4549300 --- /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) { +} |