2022-05-23 16:14:54 +00:00
|
|
|
// Copyright (C) 2022 Intel Corporation.
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
// This is the test found in https://sourceware.org/bugzilla/show_bug.cgi?id=29087
|
|
|
|
|
|
|
|
#ifdef BUILD
|
|
|
|
# define LIB_API __attribute__((visibility("protected")))
|
|
|
|
#else
|
|
|
|
# define LIB_API __attribute__((visibility("default")))
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct LIB_API S
|
|
|
|
{
|
|
|
|
virtual ~S();
|
2022-07-15 19:38:18 +00:00
|
|
|
virtual void *f();
|
|
|
|
static void *ptr;
|
2022-05-23 16:14:54 +00:00
|
|
|
};
|