19ca5c425SRichard Smith // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 23f1b5d07SRichard Smith 33f1b5d07SRichard Smith template<typename T> using Id = T; // expected-note {{type alias template 'Id' declared here}} 43f1b5d07SRichard Smith struct U { static Id<int> V; }; 5*fb8b7b9aSRichard Smith Id<int> ::U::V; // expected-error {{type 'Id<int>' (aka 'int') cannot be used prior to '::' because it has no members}} 6