clang/test/CIR/IR/module.cir
raw| 1 | // RUN: cir-opt %s -split-input-file --verify-roundtrip | FileCheck %s |
| 2 | |
| 3 | // Should parse and print C source language attribute. |
| 4 | module attributes {cir.lang = #cir.lang<c>} { } |
| 5 | // CHECK: module attributes {cir.lang = #cir.lang<c>} |
| 6 | |
| 7 | // ----- |
| 8 | |
| 9 | // Should parse and print C++ source language attribute. |
| 10 | module attributes {cir.lang = #cir.lang<cxx>} { } |
| 11 | // CHECK: module attributes {cir.lang = #cir.lang<cxx>} |