Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
fb9061be
Commit
fb9061be
authored
Sep 30, 2010
by
Iain Sandoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add files missed on previous commit.
From-SVN: r164748
parent
3bc33871
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/testsuite/obj-c++.dg/const-str-12.mm
+5
-0
gcc/testsuite/obj-c++.dg/const-str-7.mm
+1
-1
gcc/testsuite/obj-c++.dg/method-22.mm
+2
-0
gcc/testsuite/obj-c++.dg/method-23.mm
+2
-0
gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm
+2
-0
No files found.
gcc/testsuite/obj-c++.dg/const-str-12.mm
View file @
fb9061be
...
...
@@ -5,6 +5,7 @@
/* { dg-do compile } */
#include "../objc-obj-c++-shared/Object1.h"
#import "../objc-obj-c++-shared/next-mapping.h"
@interface
Foo
:
Object
{
char
*
cString
;
...
...
@@ -17,7 +18,11 @@
+
(
Foo
*
)
getString
:
(
int
)
which
;
@end
#ifdef NEXT_OBJC_USE_NEW_INTERFACE
struct
fudge_objc_class
_FooClassReference
;
#else
struct
objc_class
_FooClassReference
;
#endif
@implementation
Bar
+
(
Foo
*
)
getString
:
(
int
)
which
{
...
...
gcc/testsuite/obj-c++.dg/const-str-7.mm
View file @
fb9061be
...
...
@@ -10,7 +10,7 @@
#include "../objc-obj-c++-shared/next-mapping.h"
#include <stdio.h>
#include <stdlib.h>
#include <
memory
.h>
#include <
string
.h>
#include <objc/objc.h>
@interface
Foo
:
Object
{
...
...
gcc/testsuite/obj-c++.dg/method-22.mm
View file @
fb9061be
/* Ensure that overload resolution does not produce warnings as
side-effects. */
/* { dg-do run } */
/* { dg-additional-sources "../objc-obj-c++-shared/Object1.mm" } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
#include "../objc-obj-c++-shared/Object1.h"
#include <stdlib.h>
...
...
gcc/testsuite/obj-c++.dg/method-23.mm
View file @
fb9061be
...
...
@@ -2,6 +2,8 @@
they should. */
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-additional-sources "../objc-obj-c++-shared/Object1.mm" } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
#include "../objc-obj-c++-shared/Object1.h"
#include <string.h>
...
...
gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm
View file @
fb9061be
/* This file tests that things are encoded using the gcc-3.3 ABI which is only
used by the NeXT runtime. */
/* { dg-do run { target *-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
#include <stdio.h>
#include <string.h>
#include "../objc-obj-c++-shared/Protocol1.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment