forked from qt-creator/qt-creator
C++11: Allow brace-init-list in default argument declaration.
Change-Id: Iab707d855f98982697365f9a4cd7832877e64d17 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -2,3 +2,5 @@ class C {
|
||||
C() : _x{12}, _y({12}) {}
|
||||
C(int i) : _x{{{12, 2}, {"foo"}}, {bar}}... {}
|
||||
};
|
||||
|
||||
void foo(int i = {1, 2, 3});
|
||||
|
||||
Reference in New Issue
Block a user