mirror of https://github.com/microsoft/clang.git
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41f404f7ac
commit
5d1055e822
|
@ -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