summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/PR8884.cpp
blob: 4026465a25fd7828ec818e1aad966bdc555978f8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -fsyntax-only  %s
extern "C" {
  class bar {
    friend struct foo;
    static struct foo& baz ();
  };
  struct foo {
    void zed () {
      bar::baz();
    }
  };
}