blob: f3427d73fff488f16bce585fc441742878906afc [file] [log] [blame]
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// RUN: cxx_compiler cxx_11 -c %s -o %t.o
// RUN: bindump %t.o | FileCheck prefixes %s
// CHECK: _ZN3FooUt_3barEv
struct Foo {
struct {
int x;
void bar() {}
} name;
};
int main() {
Foo f;
f.name.bar();
}