Skip to content
Snippets Groups Projects
Commit 1c9fcfd3 authored by Virgile Robles's avatar Virgile Robles
Browse files

Add test for __anonCompField parsing

parent 4cc64482
No related branches found
No related tags found
No related merge requests found
[kernel] Parsing tests/syntax/rename.i (no preprocessing)
/* Generated by Frama-C */
struct not_anon {
int __anonCompField1 ;
};
int f(void)
{
int x = 0;
......@@ -62,4 +65,5 @@ void f4(int *j_0_1)
return;
}
struct not_anon s = {.__anonCompField1 = 0};
......@@ -38,3 +38,9 @@ void f4(int *j_0_1) {
{ int j_0_1 = j_0;
j_0_1+=j_0; }
}
struct not_anon {
int __anonCompField1;
};
struct not_anon s = {.__anonCompField1 = 0};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment