1 // RUN: %clang_cc1 -fsyntax-only -verify %s
7 int x
; // expected-note{{'x' declared here}}
11 int g() { return x
; } // expected-error{{reference to local variable 'x' declared in enclosing function 'f'}}
13 int k() { return :: x
; }
14 int l() { return g(); }
18 local
* p
= 0; // expected-error{{unknown type name 'local'}}