1 // RUN: %clang_cc1 -verify -o - %s
3 __attribute__((objc_root_class))
6 // Test reference binding.
14 @property (assign) T p0;
15 @property (assign) T& p1;
34 void f4(NSString &tmpstr) {
42 @interface foo<P1> {} @end
43 @interface bar : foo <P1, P2, P3> {} @end
47 operator bar&() const;
64 (void)((foo&)ToBar());
67 @interface B : Root @end
69 unsigned bf : 4; // expected-note {{declared here}}
73 unsigned &i = bf; // expected-error {{non-const reference cannot bind to bit-field 'bf'}}