aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC++/2010-03-16-SinkStores.cpp
blob: 7b4b500eb53543448f8abd1c6a7c4cd3a548bc0e (plain)
1
2
3
4
5
6
7
8
9
10
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;
}