projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f90a9
)
Adjust this test to pass after recent CFE changes. We now generate:
author
Chris Lattner
<sabre@nondot.org>
Sat, 19 Feb 2005 07:31:54 +0000
(07:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 19 Feb 2005 07:31:54 +0000
(07:31 +0000)
%XX = global int cast (int* getelementptr ([2 x int]* getelementptr (%struct.S* null, int 0, uint 0), int 0, int 1) to int)
which is the literal translation of the testcase :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20247
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/C++Frontend/2005-01-03-StaticInitializers.cpp
patch
|
blob
|
history
diff --git
a/test/C++Frontend/2005-01-03-StaticInitializers.cpp
b/test/C++Frontend/2005-01-03-StaticInitializers.cpp
index b215d3e3dab2726d0dd295ab8b3b0fac559c06d1..27da715c1479db568fb3e17d7257d685cea5973e 100644
(file)
--- a/
test/C++Frontend/2005-01-03-StaticInitializers.cpp
+++ b/
test/C++Frontend/2005-01-03-StaticInitializers.cpp
@@
-1,4
+1,4
@@
-// 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];