[K/N] Fix filecheck_function_attributes_at_callsite test
This commit is contained in:
@@ -6041,6 +6041,8 @@ fileCheckTest("filecheck_signext_zeroext_objc_export") {
|
||||
|
||||
fileCheckTest("filecheck_function_attributes_at_callsite") {
|
||||
enabled = (project.testTarget != 'wasm32') // KT-49739
|
||||
// attributes for caller and callee might be the same so we allow overlapping.
|
||||
additionalFileCheckFlags = ["--allow-deprecated-dag-overlap"]
|
||||
annotatedSource = project.file('filecheck/function_attributes_at_callsite.kt')
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ fun main() {
|
||||
flameThrower()
|
||||
}
|
||||
|
||||
// CHECK-DAG: attributes #[[THROW_EXCEPTION_DECLARATION_ATTRIBUTES]] = { noreturn uwtable {{.+}} }
|
||||
// CHECK-DAG: attributes #[[THROW_EXCEPTION_CALLSITE_ATTRIBUTES]] = { noreturn uwtable }
|
||||
// CHECK-DAG: attributes #[[FLAME_THROWER_DECLARATION_ATTRIBUTES]] = { noreturn {{.+}} }
|
||||
// CHECK-DAG: attributes #[[FLAME_THROWER_CALLSITE_ATTRIBUTES]] = { noreturn }
|
||||
// CHECK-DAG: attributes #[[THROW_EXCEPTION_DECLARATION_ATTRIBUTES]] = {{{.*}}noreturn{{.*}}}
|
||||
// CHECK-DAG: attributes #[[THROW_EXCEPTION_CALLSITE_ATTRIBUTES]] = {{{.*}}noreturn{{.*}}}
|
||||
// CHECK-DAG: attributes #[[FLAME_THROWER_DECLARATION_ATTRIBUTES]] = {{{.*}}noreturn{{.*}}}
|
||||
// CHECK-DAG: attributes #[[FLAME_THROWER_CALLSITE_ATTRIBUTES]] = {{{.*}}noreturn{{.*}}}
|
||||
Reference in New Issue
Block a user