[OpenCL] Add test case for previous commit.

llvm-svn: 198422
This commit is contained in:
Joey Gouly 2014-01-03 15:11:57 +00:00
parent d1e6e141c1
commit b6eb314c3a
1 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
// RUN: %clang_cc1 -verify %s
constant int no_init; // expected-error {{variable in constant address space must be initialized}}