// RUN: %clang_cc1 -fsyntax-only -verify %s
const float withc = 1.0f;
volatile float withv = 1.0f;
float nocv = 1.0f;
float nocv_array = ;
int nocv_iarray = ;
int* as_ptr = nocv_iarray; // expected-error{{cannot initialize a variable of type '__attribute__((address_space(9999))) int *' with an lvalue of type '__attribute__((address_space(42))) int[10]'}}
int* ptr_in_same_addr_space = nocv_iarray;
int* ptr_in_different_addr_space = nocv_iarray;