1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2 // expected-no-diagnostics
4 typedef int value_type;
7 __attribute__((objc_root_class))
14 @property (nonatomic) HasValueType bar;
21 decltype(foo)::value_type vt1;
22 decltype(self->foo)::value_type vt2;
23 decltype(self.bar)::value_type vt3;