summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/reparented_replacement.hpp
blob: 4ac2bf03c8f278073b1c6fa733d1d973a316eeff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// bindgen-flags: --enable-cxx-namespaces

namespace foo {
  struct Bar {
    int baz;
  };
}

namespace bar {
  /// <div rustbindgen replaces="foo::Bar"></div>
  struct Bar_Replacement {
    int bazz;
  };
};

typedef foo::Bar ReferencesBar;