source: CIVL/examples/languageFeatures/anon.c@ 6495bb8

main test-branch
Last change on this file since 6495bb8 was 8ed8eba, checked in by Stephen Siegel <siegel@…>, 3 years ago

Adding new compound initializer tests. Looking into a failing test concerning printing domains.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5730 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 188 bytes
Line 
1#include <stdio.h>
2struct S {
3 int x;
4 int;
5 int :10;
6 int y;
7};
8
9int main() {
10 struct S s;
11 printf("%zu %zu %zu\n", sizeof(int), sizeof(struct S), sizeof(s));
12 s.x=10;
13 s.y=20;
14}
Note: See TracBrowser for help on using the repository browser.