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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [avr/] [trivial.c] - Blame information for rev 697

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do run } */
2
 
3
#include <stdio.h>
4
 
5
#define PROGMEM __attribute__((__progmem__))
6
 
7
const char PROGMEM a1 = 0x12;
8
const int PROGMEM a2 = 0x2345;
9
const long PROGMEM a3 = 0x12345678;
10
 
11
int main(void)
12
{
13
  printf ("Hello World\n");
14
  return 0;
15
}

powered by: WebSVN 2.1.0

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