OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [gnu-inline-class.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O" } */ // such that static functions are optimized out
3
/* { dg-final { scan-assembler "func1" } } */
4
/* { dg-final { scan-assembler "func2" } } */
5
/* { dg-final { scan-assembler-not "func3" } } */
6
/* { dg-final { scan-assembler "func4" } } */
7
/* { dg-final { scan-assembler "func5" } } */
8
 
9
#define IN_CLASS gnu_test
10
 
11
struct IN_CLASS {
12
  int func1(void);
13
  int func2(void);
14
  int func3(void);
15
  int func4(void);
16
  int func5(void);
17
};
18
 
19
#include "gnu-inline-global.C"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.