This is in preparation for adding more gmodules tests. Differential Revision: https://reviews.llvm.org/D133876
18 lines
235 B
C++
18 lines
235 B
C++
template<typename T>
|
|
class GenericContainer {
|
|
private:
|
|
T storage;
|
|
|
|
public:
|
|
GenericContainer(T value) {
|
|
storage = value;
|
|
};
|
|
};
|
|
|
|
typedef GenericContainer<int> IntContainer;
|
|
|
|
struct Foo {
|
|
class Bar;
|
|
Bar *bar;
|
|
};
|