mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-28 03:42:55 +00:00
This is in preparation for adding more gmodules tests. Differential Revision: https://reviews.llvm.org/D133876
17 lines
235 B
C++
17 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;
|
|
};
|