Debian Codegraph @

testdata/libdlnested/nested_test.cpp

raw
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: 2023 The Ebitengine Authors
3
4 #include <dlfcn.h>
5
6 struct nested_libdl
7 {
8 nested_libdl() {
9 // Fails for sure because a symbol cannot be named like this
10 dlsym(RTLD_DEFAULT, "@/*<>");
11 }
12 };
13
14 static nested_libdl test;