[mlir][PDLL] Allow (and ignore) `-D` tablegen macros. (#124166)
[llvm-project.git] / lldb / test / API / lang / cpp / forward-declared-template-specialization / main.cpp
blobc6566d3c052e17072a78261549c11d7589e34d53
1 // Forward declare a template and a specialization;
2 template <typename T> class Temp;
3 template <> class Temp<int>;
5 // Force that debug informatin for the specialization is emitted.
6 // Clang and GCC will create debug information that lacks any description
7 // of the template argument 'int'.
8 Temp<int> *a;
10 // Define the template and create an implicit instantiation.
11 template <typename T> class Temp { int f; };
12 Temp<float> b;
14 int main() {
15 return 0; // break here