Skip to content

Commit c47260e

Browse files
authored
[CIR][NFC] Fix failing OpenACC NYI test (#141155)
A recent change to the error message produced for unhandled compound statements without scope introduced a failure in an OpenACC test that was checking for the old error message. This change updates the test to check for the new message.
1 parent 523d6c3 commit c47260e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
void HelloWorld(int *A, int *B, int *C, int N) {
44

55
// expected-error@+2{{ClangIR code gen Not Yet Implemented: OpenACC Atomic Construct}}
6-
// expected-error@+1{{ClangIR code gen Not Yet Implemented: statement}}
6+
// expected-error@+1{{ClangIR code gen Not Yet Implemented: emitCompoundStmtWithoutScope: OpenACCAtomicConstruct}}
77
#pragma acc atomic
88
N = N + 1;
99

0 commit comments

Comments
 (0)