Given this defintion in foo.h:
class A
{
class B {
};
};
When I format this using
google-astyle --style=linux foo.h
Then the opening brace for the nested class "B" is incorrectly lined up in the first column:
class A
{
class B
{
};
};
I note that if I change "class B" to "struct B" then it lines up properly.