aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/tree-prof/lipo/static1_2.C
blob: d39095de531051f2471f9cd729c4195dbf6458a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-options "-std=c++11 -O2" } */

#include <vector>

class B {
 public:
  int f(int x) const;
};

static const std::vector<int> point2_{43};

int B::f(int x) const {
  return x+1;
}