projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Keep track of analysis information inherited from Module pass manager.
[oota-llvm.git]
/
test
/
C++Frontend
/
2005-01-03-StaticInitializers.cpp
diff --git
a/test/C++Frontend/2005-01-03-StaticInitializers.cpp
b/test/C++Frontend/2005-01-03-StaticInitializers.cpp
index b215d3e3dab2726d0dd295ab8b3b0fac559c06d1..da1b005cf4ab7cf0a9894985d974cd681f428ff2 100644
(file)
--- a/
test/C++Frontend/2005-01-03-StaticInitializers.cpp
+++ b/
test/C++Frontend/2005-01-03-StaticInitializers.cpp
@@
-1,8
+1,8
@@
-// RUN: %llvmgxx %s -S -o - |
grep '%XX = global int 4'
+// RUN: %llvmgxx %s -S -o - |
not grep llvm.global_ctor
struct S {
int A[2];
};
-int XX = (int)&(((struct S*)0)->A[1]);
+int XX = (int)
(long)
&(((struct S*)0)->A[1]);