diff options
author | Mike Stump <mrs@apple.com> | 2009-08-06 14:16:19 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-08-06 14:16:19 +0000 |
commit | 37148f4efb150c1ee862ce36a7468e83dbb0085d (patch) | |
tree | a33d9e74dd919dba8aec858f612606de8954881c | |
parent | c5708d992fceb57e58673f628af4125662da60fd (diff) |
Let's remember we want better codegen for these.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78310 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/virt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGenCXX/virt.cpp b/test/CodeGenCXX/virt.cpp index 35548de043..d2f5e226d4 100644 --- a/test/CodeGenCXX/virt.cpp +++ b/test/CodeGenCXX/virt.cpp @@ -42,6 +42,8 @@ void test2() { F f; static int sz = (char *)(&f.f) - (char *)(&f); j = sz; + // FIXME: These should result in a frontend constant a la fold, no run time + // initializer // CHECK-LP32: movl $4, __ZZ5test2vE2sz // CHECK-LP64: movl $8, __ZZ5test2vE2sz(%rip) } |