astyle formatting
This commit is contained in:
parent
8603919b2d
commit
bbd379c802
|
@ -2098,12 +2098,12 @@ private:
|
||||||
void template26()
|
void template26()
|
||||||
{
|
{
|
||||||
// #2721
|
// #2721
|
||||||
const char code[] = "template<class T>\n"
|
const char code[] = "template<class T>\n"
|
||||||
"class A { public: T x; };\n"
|
"class A { public: T x; };\n"
|
||||||
"\n"
|
"\n"
|
||||||
"template<class M>\n"
|
"template<class M>\n"
|
||||||
"class C: public A<char[M]> {};\n"
|
"class C: public A<char[M]> {};\n"
|
||||||
"\n"
|
"\n"
|
||||||
"C<2> a;\n";
|
"C<2> a;\n";
|
||||||
// TODO: expand A also
|
// TODO: expand A also
|
||||||
ASSERT_EQUALS("; C<2> a ; class C<2> : public A < char [ 2 ] > { }", sizeof_(code));
|
ASSERT_EQUALS("; C<2> a ; class C<2> : public A < char [ 2 ] > { }", sizeof_(code));
|
||||||
|
|
Loading…
Reference in New Issue