llvm-project/clang/test/SemaOpenCL/invalid-constant.cl

3 lines
130 B
Common Lisp

// RUN: %clang_cc1 -verify %s
constant int no_init; // expected-error {{variable in constant address space must be initialized}}