commit | 651f13cea278ec967336033dd032faef0e9fc2ec | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Wed Apr 23 16:59:28 2014 -0700 |
committer | Stephen Hines <srhines@google.com> | Wed Apr 23 16:59:54 2014 -0700 |
tree | 14fadd70982e1428a21e9aa9cfee67c9ee317bee | |
parent | e45aa073431f94fc0dafb56477aec2068ba2880f [diff] [blame] |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
diff --git a/test/SemaOpenCL/invalid-constant.cl b/test/SemaOpenCL/invalid-constant.cl new file mode 100644 index 0000000..c45811f --- /dev/null +++ b/test/SemaOpenCL/invalid-constant.cl
@@ -0,0 +1,2 @@ +// RUN: %clang_cc1 -verify %s +constant int no_init; // expected-error {{variable in constant address space must be initialized}}