Debian Codegraph @

clang_delta/tests/empty-struct-to-int/empty-struct5.cpp

raw
1 // RUN: %clang_delta --transformation=empty-struct-to-int --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK-NOT: struct S2
4 struct S2 {
5 // CHECK-NOT: int a[2]
6 char a[2];
7 // CHECK-NOT: };
8 };
9 // CHECK: int s
10 S2 s = {{1,2}};