Skip to content

Instantly share code, notes, and snippets.

View daniel-kristjansson's full-sized avatar

Daniel Kristjansson daniel-kristjansson

View GitHub Profile
#include <iostream>
using namespace std;
#include <QtTest/QtTest>
class A
{
public:
A() {}
A(float) : i(0x30) {}
@daniel-kristjansson
daniel-kristjansson / est_cpp_ctor_init.pro
Created June 22, 2013 19:08
Test of C++ array initialization
include ( ../../../../settings.pro )
QT += xml sql network
contains(QT_VERSION, ^4\\.[0-9]\\..*) {
CONFIG += qtestlib
}
contains(QT_VERSION, ^5\\.[0-9]\\..*) {
QT += testlib
}