reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
// RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx
// RUN: lldb-test symbols --name=foo --find=function --function-flags=method %t | \
// RUN:   FileCheck %s

// CHECK-DAG: name = "sbar::foo()", mangled = "_ZN4sbar3fooEv"
// CHECK-DAG: name = "ffbar()::sbar::foo()", mangled = "_ZZ5ffbarvEN4sbar3fooEv"

struct sbar {
  void foo();
};
void sbar::foo() {}

void ffbar() {
  struct sbar {
    void foo() {}
  };
  sbar a;
  a.foo();
}