Skip to content

Commit 7d2a33a

Browse files
committed
Fix test
1 parent 2af347f commit 7d2a33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaOpenCL/invalid-block.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void f1(void) {
1414
f0(bl2);
1515
bl1 = bl2; // expected-error{{invalid operands to binary expression ('int (__generic ^const __private)(void)' and 'int (__generic ^const __private)(void)')}}
1616
int (^const bl3)(void); // expected-error{{invalid block variable declaration - must be initialized}} \
17-
expected-warning {{default initialization of an object of type 'int (__generic ^const __private)(void)' leaves the object uninitialized and is incompatible with C++}}
17+
expected-warning {{default initialization of an object of type 'int (__generic ^const __private)(void)' leaves the object uninitialized}}
1818
}
1919

2020
// A block with extern storage class is not allowed.

0 commit comments

Comments
 (0)