aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/odr-handling-with-dylib/service.cpp
blob: 6302a45483495eaf1e1d1d45c66ccea2f434751e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define HIDE_FROM_PLUGIN 1
#include "service.h"

struct ServiceAux {
  Service *Owner;
};

struct Service::State {};

void exported() {
  // Make sure debug-info for definition of Service is
  // emitted in this CU.
  Service service;
  service.start(0);
}