aboutsummaryrefslogtreecommitdiff
path: root/semantics_data/typedef4.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-07 03:17:32 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-07 03:17:32 +0800
commit52b29440f8f1310e0c074c8eb409e433c56bdd62 (patch)
tree6d91ceeb6594fe337541ed3f9f50cd33ee8881ca /semantics_data/typedef4.c
parent0ac22f0214ee283ce9bb053d691aeac823f875be (diff)
rename
Diffstat (limited to 'semantics_data/typedef4.c')
-rw-r--r--semantics_data/typedef4.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/semantics_data/typedef4.c b/semantics_data/typedef4.c
new file mode 100644
index 0000000..0aeb0f4
--- /dev/null
+++ b/semantics_data/typedef4.c
@@ -0,0 +1,10 @@
+typedef struct I I;
+int incomp(I a);
+struct I { int i, j; };
+int incomp(I a) {}
+typedef int b;
+int main() {
+ I i;
+ b b;
+ incomp(i);
+}