summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCL/event_t.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaOpenCL/event_t.cl')
-rw-r--r--test/SemaOpenCL/event_t.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaOpenCL/event_t.cl b/test/SemaOpenCL/event_t.cl
index 57a0981..06197d0 100644
--- a/test/SemaOpenCL/event_t.cl
+++ b/test/SemaOpenCL/event_t.cl
@@ -2,7 +2,7 @@
event_t glb_evt; // expected-error {{the event_t type cannot be used to declare a program scope variable}}
-struct evt_s {
+constant struct evt_s {
event_t evt; // expected-error {{the event_t type cannot be used to declare a structure or union field}}
} evt_str;
OpenPOWER on IntegriCloud