Files
qt-creator/tests/auto/cplusplus/cxx11/data/defaultdeleteInitializer.1.cpp
Christian Kamm 903ba378c2 C++11: Don't fail on = default and = delete initializers.
These are converted to IdExpr(SimpleName(token)) initializers.

Change-Id: I1e85c4b261ca028dc75ffe6c00e1090630c2957c
Reviewed-by: hjk <qthjk@ovi.com>
2012-09-19 11:46:51 +02:00

9 lines
159 B
C++

class C {
C() = default;
C(const C &) = delete;
C &operator=(const C &) = default;
void foo() = delete;
template <class T> void bar(T) = delete;
};