Debian Codegraph @

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

raw
1 // RUN: %clang_delta --transformation=empty-struct-to-int --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: struct S1
4 struct S1 {
5 // CHECK: int S;
6 struct {} S;
7 // CHECK-NEXT: struct S *s1;
8 struct S *s1;
9 };