projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b1332
)
Restore global static array in test case
author
Gerolf Hoflehner
<ghoflehner@apple.com>
Thu, 3 Jul 2014 19:30:33 +0000
(19:30 +0000)
committer
Gerolf Hoflehner
<ghoflehner@apple.com>
Thu, 3 Jul 2014 19:30:33 +0000
(19:30 +0000)
llvm-svn: 212285
clang/test/CodeGen/indirect-goto.c
patch
|
blob
|
history
diff --git
a/clang/test/CodeGen/indirect-goto.c
b/clang/test/CodeGen/indirect-goto.c
index
22dbcad
..
a3b45e4
100644
(file)
--- 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];