aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/debug-info-pubtypes.cpp
blob: 6ca3da8674f304c0a5efc17ff58fd6c2c82d1b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// REQUIRES: x86-64-registered-target
// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -g -fno-limit-debug-info -S %s -o %t
// RUN: FileCheck %s < %t

// FIXME: This testcase shouldn't rely on assembly emission.
//CHECK: Lpubtypes_begin[[SECNUM:[0-9]:]]
//CHECK:         .asciz   "G"
//CHECK-NEXT:    .long   0
//CHECK-NEXT: Lpubtypes_end[[SECNUM]]

class G {
public:
	void foo();
};

void G::foo() {
}