summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCL/cond.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaOpenCL/cond.cl')
-rw-r--r--test/SemaOpenCL/cond.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaOpenCL/cond.cl b/test/SemaOpenCL/cond.cl
index 8cc4f1e..60f7056 100644
--- a/test/SemaOpenCL/cond.cl
+++ b/test/SemaOpenCL/cond.cl
@@ -128,5 +128,5 @@ int foo2(int);
unsigned int ntest12(int2 C)
{
- return (unsigned int)(C ? foo1 : foo2); // expected-error {{taking address of function is not allowed}}
+ return (unsigned int)(C ? foo1 : foo2); // expected-error {{taking address of function is not allowed}} expected-error {{taking address of function is not allowed}}
}
OpenPOWER on IntegriCloud