diff options
author | Elliott Hughes <enh@google.com> | 2015-02-25 17:00:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-25 17:00:18 +0000 |
commit | a963009a0b9d502ffe81e79c7c3b45b3cf58b044 (patch) | |
tree | a63e40b5dd9927bd04ec7427c8797975c2a71f85 /src/tests/testfile_implicit_value.c | |
parent | 46a0b252322932680dbaa86a42944fb822af924d (diff) | |
parent | 412f6b917fc658c24dd7d624bb82bf1a1e791b95 (diff) | |
download | android_external_elfutils-a963009a0b9d502ffe81e79c7c3b45b3cf58b044.tar.gz android_external_elfutils-a963009a0b9d502ffe81e79c7c3b45b3cf58b044.tar.bz2 android_external_elfutils-a963009a0b9d502ffe81e79c7c3b45b3cf58b044.zip |
am 412f6b91: am 7401a30e: am 36e62782: Merge "Upgrade to elfutils 0.161."
* commit '412f6b917fc658c24dd7d624bb82bf1a1e791b95':
Upgrade to elfutils 0.161.
Diffstat (limited to 'src/tests/testfile_implicit_value.c')
-rw-r--r-- | src/tests/testfile_implicit_value.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/testfile_implicit_value.c b/src/tests/testfile_implicit_value.c new file mode 100644 index 00000000..8885bbf3 --- /dev/null +++ b/src/tests/testfile_implicit_value.c @@ -0,0 +1,12 @@ +// gcc -m32 -g -O2 -o implicit_value implicit_value.c + +static __attribute__((noinline, noclone)) int foo () +{ + unsigned long long a[] = { 2, 21 }; + return a[0] * a[1]; +} + +int main (void) +{ + return foo () - 42; +} |