forked from OSchip/llvm-project
Fix test from 5ff992 to work with win 32 bit, fix a typo.
See the discussion on D123319. Default calling convention on Windows32 bit is to have 'this-call' for member functions, so add a wildcard to take care of that. Also, one of the FileCheck 'match' flags was incorrect, so fix that too.
This commit is contained in:
parent
c59d95f6a4
commit
a037eace91
|
@ -21,5 +21,5 @@ __attribute__((used)) int g() {
|
|||
// operator() of the local lambda should have the same return type as g()
|
||||
//
|
||||
// CHECK: distinct !DISubprogram(name: "operator()",{{.*}}, type: ![[FUN_TYPE_LAMBDA:[0-9]+]],{{.*}}
|
||||
// CHECK: ![[FUN_TYPE_LAMBDA]] = !DISubroutineType(types: ![[TYPE_NODE_LAMBDA:[0-9]+]])
|
||||
// CHECK: ![[TYPE_NODE_LAMBDA]] = !{![[INT_TYPE:[0-9]+]], {{.*}}
|
||||
// CHECK: ![[FUN_TYPE_LAMBDA]] = !DISubroutineType({{.*}}types: ![[TYPE_NODE_LAMBDA:[0-9]+]])
|
||||
// CHECK: ![[TYPE_NODE_LAMBDA]] = !{![[INT_TYPE]], {{.*}}
|
||||
|
|
Loading…
Reference in New Issue