summaryrefslogtreecommitdiff
path: root/test/SemaOpenCL/invalid-constant.cl
blob: c45811f402512cc0df4ad383c8159b8b5bfaab27 (plain)
1
2
// RUN: %clang_cc1 -verify %s 
constant int no_init; // expected-error {{variable in constant address space must be initialized}}