mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Chris pointed out that producing undef here is wrong in
general. llvm-svn: 98649
This commit is contained in:
parent
aee6e76a7d
commit
80f9637032
@ -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