diff options
author | Andrey Ponomarenko <aponomarenko@rosalab.ru> | 2012-05-14 16:48:07 +0400 |
---|---|---|
committer | Andrey Ponomarenko <aponomarenko@rosalab.ru> | 2012-05-14 16:48:07 +0400 |
commit | 850437949b65b213696469223d749c1f74c29601 (patch) | |
tree | b6d038f6f99c9bda8f7524d620bd4bb2f155cd56 /modules/Internals | |
parent | 0d5917f800bbc0a5f0d38de1b8b16c12294093f0 (diff) | |
download | abi-compliance-checker-850437949b65b213696469223d749c1f74c29601.tar.gz |
ABI Compliance Checker 1.97.5
Diffstat (limited to 'modules/Internals')
-rwxr-xr-x | modules/Internals/RegTests.pm | 23 | ||||
-rwxr-xr-x | modules/Internals/SysCheck.pm | 8 |
2 files changed, 21 insertions, 10 deletions
diff --git a/modules/Internals/RegTests.pm b/modules/Internals/RegTests.pm index 458e2e8..c2ee750 100755 --- a/modules/Internals/RegTests.pm +++ b/modules/Internals/RegTests.pm @@ -1,10 +1,10 @@ ########################################################################### # Internal Regression Tests for ABI Compliance Checker # -# Copyright (C) 2009-2010 The Linux Foundation. -# Copyright (C) 2009-2011 Institute for System Programming, RAS. -# Copyright (C) 2011-2012 Nokia Corporation and/or its subsidiary(-ies). -# Copyright (C) 2011-2012 ROSA Laboratory. +# Copyright (C) 2009-2010 The Linux Foundation +# Copyright (C) 2009-2011 Institute for System Programming, RAS +# Copyright (C) 2011-2012 Nokia Corporation and/or its subsidiary(-ies) +# Copyright (C) 2011-2012 ROSA Laboratory # # Written by Andrey Ponomarenko # @@ -2930,6 +2930,17 @@ sub testC() $SOURCE2 .= " int globalDataBecameNonConst = 15;"; + # Global_Data_Became_Non_Const + # Typedef + $HEADER1 .= " + typedef const int CONST_INT; + $DECL_SPEC CONST_INT globalDataBecameNonConst_Typedef = 10;"; + + $HEADER2 .= " + extern $DECL_SPEC int globalDataBecameNonConst_Typedef;"; + $SOURCE2 .= " + int globalDataBecameNonConst_Typedef = 15;"; + # Global_Data_Became_Const $HEADER1 .= " extern $DECL_SPEC int globalDataBecameConst;"; @@ -2942,11 +2953,11 @@ sub testC() # Global_Data_Became_Non_Const $HEADER1 .= " struct GlobalDataType{int a;int b;struct GlobalDataType* p;}; - $EXTERN $DECL_SPEC const struct GlobalDataType globalStructDataBecameConst = { 1, 2, (struct GlobalDataType*)0 };"; + $EXTERN $DECL_SPEC const struct GlobalDataType globalStructDataBecameNonConst = { 1, 2, (struct GlobalDataType*)0 };"; $HEADER2 .= " struct GlobalDataType{int a;int b;struct GlobalDataType* p;}; - $EXTERN $DECL_SPEC struct GlobalDataType globalStructDataBecameConst = { 1, 2, (struct GlobalDataType*)0 };"; + $EXTERN $DECL_SPEC struct GlobalDataType globalStructDataBecameNonConst = { 1, 2, (struct GlobalDataType*)0 };"; # Removed_Parameter $HEADER1 .= " diff --git a/modules/Internals/SysCheck.pm b/modules/Internals/SysCheck.pm index 2752609..4f62cc6 100755 --- a/modules/Internals/SysCheck.pm +++ b/modules/Internals/SysCheck.pm @@ -1,10 +1,10 @@ ########################################################################### # Module for ABI Compliance Checker to compare Operating Systems # -# Copyright (C) 2009-2010 The Linux Foundation. -# Copyright (C) 2009-2011 Institute for System Programming, RAS. -# Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -# Copyright (C) 2011 ROSA Laboratory. +# Copyright (C) 2009-2010 The Linux Foundation +# Copyright (C) 2009-2011 Institute for System Programming, RAS +# Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies) +# Copyright (C) 2011 ROSA Laboratory # # Written by Andrey Ponomarenko # |