gecko/xpcom/tests/static-checker/TestFinalTemplate.cpp

13 lines
111 B
C++
Raw Normal View History

#include "nscore.h"
template<class T>
struct NS_FINAL_CLASS A
{
T i;
};
struct Bint : A<int>
{
int j;
};