mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Check that P is not zero initialized.
llvm-svn: 98627
This commit is contained in:
parent
7948b2bf2a
commit
bdc291ce3a
11
test/FrontendC++/2010-03-16-SinkStores.cpp
Normal file
11
test/FrontendC++/2010-03-16-SinkStores.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
// 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