repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Split large truncating MVE stores
[llvm-complete.git]
/
test
/
TableGen
/
self-reference-recursion.td
blob
7eadfb7cf788cf087b14d8d2b9edd19ffcffe7c4
1
// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
2
// XFAIL: vg_leak
3
4
class A<string self> {
5
int x = !cast<A>(self).x;
6
}
7
8
// CHECK: error: Attempting to access field 'x' of 'A0' is a forbidden self-reference
9
def A0 : A<"A0">;