CMake/Tests/QtAutogen/MocOsMacros/main.cpp
Kitware Robot ed98209ddc Revise include order using clang-format-6.0
Run the `clang-format.bash` script to update our C and C++ code to a new
include order `.clang-format`.  Use `clang-format` version 6.0.
2019-10-01 12:26:36 -04:00

34 lines
410 B
C++

#include <QtGlobal>
#include "TestClass.hpp"
int main()
{
TestClass a;
#ifdef Q_OS_MAC
a.MacNotDefElse();
a.MacDef();
#else
a.MacNotDef();
a.MacDefElse();
#endif
#ifdef Q_OS_UNIX
a.UnixNotDefElse();
a.UnixDef();
#else
a.UnixNotDef();
a.UnixDefElse();
#endif
#ifdef Q_OS_WIN
a.WindowsNotDefElse();
a.WindowsDef();
#else
a.WindowsNotDef();
a.WindowsDefElse();
#endif
return 0;
}