blob: eb250ea875011169f26d9f1c75b26a0368a31711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using System;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;
namespace Mono.Linker.Tests.Cases.CommandLine
{
/// <summary>
/// This test will use only keep used attributes, which is disabled by default, to infer that the rsp file worked
/// </summary>
[SetupLinkerResponseFileAttribute ("Dependencies/ResponseFilesWork.rsp")]
public class ResponseFilesWork
{
public static void Main ()
{
new Bar ();
}
[Kept]
[KeptMember (".ctor()")]
[Foo]
class Bar
{
}
class FooAttribute : Attribute
{
}
}
}
|