| commit | 2344cfc335d5cfcfe0fb339934a2e0a7914f20a6 | [log] [tgz] |
|---|---|---|
| author | Gerolf Hoflehner <ghoflehner@apple.com> | Thu Jul 03 19:30:33 2014 +0000 |
| committer | Gerolf Hoflehner <ghoflehner@apple.com> | Thu Jul 03 19:30:33 2014 +0000 |
| tree | 39e230ed38de16a372085ebff13ba47967bcad7c | |
| parent | 65b13324e1f2b21c69c023996df36a6d21f5f8d3 [diff] [blame] |
Restore global static array in test case llvm-svn: 212285
diff --git a/clang/test/CodeGen/indirect-goto.c b/clang/test/CodeGen/indirect-goto.c index 22dbcad..a3b45e4 100644 --- a/clang/test/CodeGen/indirect-goto.c +++ b/clang/test/CodeGen/indirect-goto.c
@@ -14,7 +14,7 @@ } 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];