qt5base-lts/config.tests/no_direct_extern_access/lib.cpp
Thiago Macieira 396170d07b CMake: fix the word order in "no_direct_extern_access"
And take the opportunity to remove the "m" in the qmake feature name and
.prf file.

Pick-to: 6.4
Change-Id: I36b24183fbd041179f2ffffd170224ab75cdd968
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-07-20 14:54:20 -07:00

12 lines
255 B
C++

// Copyright (C) 2022 Intel Corporation.
// SPDX-License-Identifier: MIT
// This is the test found in https://sourceware.org/bugzilla/show_bug.cgi?id=29087
#define BUILD
#include "lib.h"
void *S::ptr = nullptr;
S::~S() { }
void *S::f() { return ptr; }