mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Chris pointed out that producing undef here is wrong in
general. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98649 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d357f6b44
commit
c221bc7344
@ -1,11 +0,0 @@
|
||||
// RUN: %llvmgxx -S %s -o - | FileCheck %s
|
||||
|
||||
#include <utility>
|
||||
|
||||
typedef std::pair<int,int> P;
|
||||
// CHECK: @_ZZ1fvE1X {{.*}} undef
|
||||
|
||||
P f() {
|
||||
static const P X = P(1,2);
|
||||
return X;
|
||||
}
|
Loading…
Reference in New Issue
Block a user