diff options
author | Gerolf Hoflehner <ghoflehner@apple.com> | 2014-07-03 19:30:33 +0000 |
---|---|---|
committer | Gerolf Hoflehner <ghoflehner@apple.com> | 2014-07-03 19:30:33 +0000 |
commit | 2344cfc335d5cfcfe0fb339934a2e0a7914f20a6 (patch) | |
tree | 39e230ed38de16a372085ebff13ba47967bcad7c /clang/test/CodeGen/indirect-goto.c | |
parent | 65b13324e1f2b21c69c023996df36a6d21f5f8d3 (diff) | |
download | bcm5719-llvm-2344cfc335d5cfcfe0fb339934a2e0a7914f20a6.tar.gz bcm5719-llvm-2344cfc335d5cfcfe0fb339934a2e0a7914f20a6.zip |
Restore global static array in test case
llvm-svn: 212285
Diffstat (limited to 'clang/test/CodeGen/indirect-goto.c')
-rw-r--r-- | clang/test/CodeGen/indirect-goto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/indirect-goto.c b/clang/test/CodeGen/indirect-goto.c index 22dbcad367b..a3b45e49af9 100644 --- a/clang/test/CodeGen/indirect-goto.c +++ b/clang/test/CodeGen/indirect-goto.c @@ -14,7 +14,7 @@ static int foo(unsigned i) { } static int foo2(unsigned i) { - const void *addrs[] = { &&L1, &&L2, &&L3, &&L4, &&L5 }; + static const void *addrs[] = { &&L1, &&L2, &&L3, &&L4, &&L5 }; int res = 1; goto *addrs[i]; |