aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/precompiled-and-prefix-headers/main.cpp
diff options
context:
space:
mode:
authorArrigo Zanette <zanettea@gmail.com>2018-01-08 02:55:52 -0800
committerChristian Kandeler <christian.kandeler@qt.io>2018-01-08 14:00:17 +0000
commitb08481ec22ffb42f6ce36ccdee57c60724c44bf4 (patch)
treefe85249df3cd48f94a43e630f354e50e91bf270c /tests/auto/blackbox/testdata/precompiled-and-prefix-headers/main.cpp
parent3bde712fa2c1f926720e85d20ae7fd5f9f378fef (diff)
GCC: Reorder prefixHeaders and precompiled headers
Prefix headers should follow precompiled headers on the gcc command line. Testcase added. Change-Id: I3dfba8cae9c894932acce5c0a67f16d7d072c94b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/precompiled-and-prefix-headers/main.cpp')
-rw-r--r--tests/auto/blackbox/testdata/precompiled-and-prefix-headers/main.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/precompiled-and-prefix-headers/main.cpp b/tests/auto/blackbox/testdata/precompiled-and-prefix-headers/main.cpp
new file mode 100644
index 000000000..98e7b4060
--- /dev/null
+++ b/tests/auto/blackbox/testdata/precompiled-and-prefix-headers/main.cpp
@@ -0,0 +1,31 @@
+/****************************************************************************
+**
+** Copyright (C) 2017 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qbs.
+**
+** $QT_BEGIN_LICENSE:GPL-EXCEPT$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+int main()
+{
+}