diff options
Diffstat (limited to 'config.tests/direct_extern_access/main.cpp')
-rw-r--r-- | config.tests/direct_extern_access/main.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config.tests/direct_extern_access/main.cpp b/config.tests/direct_extern_access/main.cpp new file mode 100644 index 0000000000..9cf0323766 --- /dev/null +++ b/config.tests/direct_extern_access/main.cpp @@ -0,0 +1,12 @@ +// Copyright (C) 2022 Intel Corporation. +// SPDX-License-Identifier: MIT + +// This is the test found in https://sourceware.org/bugzilla/show_bug.cgi?id=29087 + +#include "lib.h" + +struct Local : S { }; +int main() +{ + Local l; +} |