// RUN: %clang_cc1 %s -Wno-uninitialized -std=c++1z -fsyntax-only -verify
const extern int arr;
constexpr auto p = arr; // ok
constexpr int // expected-note {{read of dereferenced one-past-the-end pointer}}
constexpr int arr ;
constexpr auto p2 = arr + 2; // ok
constexpr int x = ; // ok
constexpr int y = ; // expected-error {{constant expression}}
// expected-note-re@-1 {{in call to 'f({{.*}})'}}
// FIXME: consider permitting this case
a;
constexpr auto p3 = a.m; // expected-error {{constant expression}} expected-note {{without known bound}}
constexpr auto p4 = a.m + 1; // expected-error {{constant expression}} expected-note {{without known bound}}
void