]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGenCXX/debug-info-limit.cpp
Vendor import of clang tags/RELEASE_33/final r183502 (effectively, 3.3
[FreeBSD/FreeBSD.git] / test / CodeGenCXX / debug-info-limit.cpp
1 // RUN: %clang  -emit-llvm -g -S %s -o - | FileCheck %s
2
3 // TAG_member is used to encode debug info for class constructor.
4 // CHECK: TAG_member
5 class A {
6 public:
7   int z;
8 };
9
10 A *foo (A* x) {
11   A *a = new A(*x);
12   return a;
13 }
14