[NFC][test] Fix the line num of expected-error for CSKY at builtin-alloca-with-align.c

This commit is contained in:
Zi Xuan Wu 2022-05-20 16:54:23 +08:00
parent 1379b15099
commit 632cfbc9f9
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ void test7(int a) {
void test8(void) {
__builtin_alloca_with_align(sizeof(__INT64_TYPE__), __alignof__(__INT64_TYPE__)); // expected-warning {{second argument to __builtin_alloca_with_align is supposed to be in bits}}
#if defined(__csky__)
// expected-error@-1 {{requested alignment must be 8 or greater}}
// expected-error@-2 {{requested alignment must be 8 or greater}}
// Because the alignment of long long is 4 in CSKY target
#endif
}