We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58305ca commit 607beb8Copy full SHA for 607beb8
test/CAPI/rtg.c
@@ -8,6 +8,7 @@
8
9
// RUN: circt-capi-rtg-test 2>&1 | FileCheck %s
10
11
+#include <inttypes.h>
12
#include <stdio.h>
13
14
#include "circt-c/Dialect/RTG.h"
@@ -158,7 +159,8 @@ static void testImmediate(MlirContext ctx) {
158
159
// CHECK: width=32
160
fprintf(stderr, "width=%u\n", rtgImmediateAttrGetWidth(immediateAttr));
161
// CHECK: value=42
- fprintf(stderr, "value=%llu\n", rtgImmediateAttrGetValue(immediateAttr));
162
+ fprintf(stderr, "value=%" PRIu64 "\n",
163
+ rtgImmediateAttrGetValue(immediateAttr));
164
}
165
166
int main(int argc, char **argv) {
0 commit comments