forked from OSchip/llvm-project
Update avr attributes test for output change in r340519
After this commit there is an addrspace(1) before the attribute #. Since these tests are only checking the value of the attribute add a {{.*}} to make the test resilient to future output changes. llvm-svn: 340522
This commit is contained in:
parent
b3ae2bc62b
commit
6cdd12a3ba
|
@ -1,6 +1,6 @@
|
|||
// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s
|
||||
|
||||
// CHECK: define void @foo() #0
|
||||
// CHECK: define void @foo(){{.*}}#0
|
||||
__attribute__((interrupt)) void foo(void) { }
|
||||
|
||||
// CHECK: attributes #0 = {{{.*interrupt.*}}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN: %clang_cc1 -triple avr-unknown-unknown -emit-llvm %s -o - | FileCheck %s
|
||||
|
||||
// CHECK: define void @foo() #0
|
||||
// CHECK: define void @foo(){{.*}}#0
|
||||
__attribute__((signal)) void foo(void) { }
|
||||
|
||||
// CHECK: attributes #0 = {{{.*signal.*}}}
|
||||
|
|
Loading…
Reference in New Issue