astyle formatting

This commit is contained in:
Daniel Marjamäki 2011-05-02 15:08:16 +02:00
parent 8603919b2d
commit bbd379c802
1 changed files with 6 additions and 6 deletions

View File

@ -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));