summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-limit.cpp
blob: bca887b4db87b7388ebce8b90fbb3bd593071dd8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang  -emit-llvm -g -S %s -o - | FileCheck %s

// TAG_member is used to encode debug info for class constructor.
// CHECK: TAG_member
class A {
public:
  int z;
};

A *foo (A* x) {
  A *a = new A(*x);
  return a;
}