mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
x and X should be structurally identical
llvm-svn: 23273
This commit is contained in:
parent
08274846d1
commit
f315628427
12
test/Regression/TableGen/AnonDefinitionOnDemand.td
Normal file
12
test/Regression/TableGen/AnonDefinitionOnDemand.td
Normal file
@ -0,0 +1,12 @@
|
||||
// RUN: tblgen < %s
|
||||
|
||||
class foo<int X> { int THEVAL = X; }
|
||||
def foo_imp : foo<1>;
|
||||
|
||||
def x {
|
||||
foo Y = foo_imp; // This works.
|
||||
}
|
||||
|
||||
def X {
|
||||
foo Y = foo<1>; // This should work too, synthesizing a new foo<1>.
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user