C++: Also parse static_assert as top-level declaration

Add some checks for C++11 flag as well.

Change-Id: Ic5ee81d72bc88a22e71b324ef01014791b833604
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Leandro Melo
2012-06-05 11:54:38 +02:00
committed by hjk
parent 4a8bdec7ea
commit 809a4ed91a
2 changed files with 22 additions and 6 deletions

View File

@@ -6,3 +6,4 @@ struct S {
}
};
static_assert(sizeof(char) == 1, "One more");