blob: 4026465a25fd7828ec818e1aad966bdc555978f8 [file] [log] [blame]
Rafael Espindola706df2f2011-01-20 02:26:24 +00001// RUN: %clang_cc1 -fsyntax-only %s
2extern "C" {
3 class bar {
4 friend struct foo;
5 static struct foo& baz ();
6 };
7 struct foo {
8 void zed () {
9 bar::baz();
10 }
11 };
12}