Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/other/PR23205.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile { target stabs } } */ | |
2 /* { dg-options "-gstabs+ -fno-eliminate-unused-debug-types" } */ | |
3 | |
4 const int foobar = 4; | |
5 int foo () | |
6 { | |
7 return foobar + 1; | |
8 } | |
9 | |
10 int main() | |
11 { | |
12 int i; | |
13 i = foo(); | |
14 return i; | |
15 } | |
16 | |
17 /* { dg-final { scan-assembler ".stabs.*foobar:(c=i|S)" } } */ |