diff options
Diffstat (limited to 'test/FrontendAda/var_offset.adb')
-rw-r--r-- | test/FrontendAda/var_offset.adb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FrontendAda/var_offset.adb b/test/FrontendAda/var_offset.adb new file mode 100644 index 0000000..09f1c15 --- /dev/null +++ b/test/FrontendAda/var_offset.adb @@ -0,0 +1,7 @@ +-- RUN: %llvmgcc -c %s -I%p/Support +package body Var_Offset is + function F (X : T) return Character is + begin + return X.Bad_Field; + end; +end; |