Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / TableGen / listremove.td
blobd0f18ad75ae1bef5bcf7d468a01bd7c34d8f1081
1 // RUN: llvm-tblgen %s | FileCheck %s
3 // CHECK: class X {
4 // CHECK:   list<string> T0 = ["foo", "bar"];
5 // CHECK:   list<string> T1 = ["foo", "bar"];
6 // CHECK:   list<string> T2 = ["bar"];
7 // CHECK:   list<string> T3 = ["foo"];
8 // CHECK:   list<string> T4 = [];
9 // CHECK: }
11 class X {
12   list<string> T0 = !listremove(["foo", "bar"], []);
13   list<string> T1 = !listremove(["foo", "bar"], ["baz"]);
14   list<string> T2 = !listremove(["foo", "bar"], ["foo"]);
15   list<string> T3 = !listremove(["foo", "bar"], ["bar", "bar"]);
16   list<string> T4 = !listremove(["foo", "bar"], ["bar", "foo"]);