reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak

// CHECK: --- Defs ---

// CHECK: def A0 {
// CHECK:   code Code = [{Simple}];
// CHECK: }

// CHECK: def B0 {
// CHECK:   code Code = [{With paste 7}];
// CHECK: }

class A<code c> {
  code Code = c;
}

def A0 : A<"Simple">;

class B<int i> : A<"With paste " # i>;

def B0 : B<7>;