forked from qt-creator/qt-creator
This will fix a couple more places where brace-init-lists and pack expansions are allowed but are not currently accepted by the parser. For example: foo(abc...); now parses correctly. Change-Id: I93710cef35154fea8437329f3174e4a2d56637b8 Reviewed-by: hjk <qthjk@ovi.com>
5 lines
87 B
C++
5 lines
87 B
C++
template <class ... Args>
|
|
int foo(Args args...) {
|
|
bar(args..., {args...}, e, f);
|
|
}
|